Flowdock
method

change_verbatim_blank_lines

Importance_1
v1_8_6_287 - Show latest stable - 0 notes - Class: SM::LineCollection
change_verbatim_blank_lines() private

If you have:

   normal paragraph text.

      this is code

      and more code

You’ll end up with the fragments Paragraph, BlankLine, Verbatim, BlankLine, Verbatim, BlankLine, etc

The <a href="/ruby/SM/BlankLine">BlankLine</a> in the middle of the verbatim chunk needs to be changed to a real verbatim newline, and the two verbatim blocks merged

Show source
Register or log in to add new notes.