lib/wparser/block/block.rb in wparser-0.1.2 vs lib/wparser/block/block.rb in wparser-0.1.3

- old
+ new

@@ -6,10 +6,10 @@ module Block include Blocks def parse text @protected_preTag = nil - parse_text = text.collect{|line| parse_line line} + parse_text = text.each_line.collect{|line| parse_line line} end private def parse_line line parse_line = line