method
change_verbatim_blank_lines
v1_8_6_287 -
Show latest stable
- 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