We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3980c4c commit ecdb884Copy full SHA for ecdb884
2 files changed
lib/bioschemas/generator.rb
@@ -111,7 +111,7 @@ def self.markdown_to_array(markdown)
111
a = []
112
113
if markdown.start_with?(' * ')
114
- matches = markdown.scan(/ \* (.+)\n/)
+ matches = markdown.scan(/ \* (.+)(?:\n|\z)/)
115
if matches.any?
116
a += matches.flatten
117
else
test/fixtures/events.yml
@@ -479,7 +479,7 @@ course_event:
479
contact: MyContact
480
eligibility: [ first_come_first_served ]
481
timezone: UTC
482
- learning_objectives: " * Learn stuff\n * Get a job\n * Get paid\n"
+ learning_objectives: " * Learn stuff\n * Get a job\n * Get paid"
483
prerequisites: " * Sleep\n * Eat\n * Breathe\n"
484
recognition: "Yup. You attended the workshop."
485
target_audience: ['Everyone!']
0 commit comments