lib/doing/changelog/changes.rb in doing-2.1.25 vs lib/doing/changelog/changes.rb in doing-2.1.26

- old
+ new

@@ -22,10 +22,10 @@ end private def parse_changes(lookup, search) - change_rx = /(?<=\n|\A)### (\d+\.\d+\.\d+(?:\w*))(.*)(?=\n### |\Z)/m + change_rx = /(?<=\n|\A)### (\d+\.\d+\.\d+(?:\w*))(.*?)(?=\n### |\Z)/m @changes = @content.scan(change_rx).each_with_object([]) do |m, a| next if m[0].nil? || m[1].nil? a << Change.new(m[0], m[1].strip) end