lib/source2md/text_helper.rb in source2md-0.0.2 vs lib/source2md/text_helper.rb in source2md-0.0.3

- old
+ new

@@ -1,9 +1,9 @@ module Source2MD module TextHelper extend self - def text_squish(text) + def blank_lines_squish(text) text.gsub(/\n{2,}/, "\n\n") end def add_newline_at_end_of_text(text) text.strip + "\n"