puppet-strings/lib/puppet_x/puppetlabs/strings/pops
Ian Kronquist 6137e94a25 (PDOC-30) Fix Markdown parsing lists parsing
The transformer comment matching regex matched all whitespace after a comment.
Lines which were effectively "blank" and just had a comment would be erased.
Markdown lists need to end with a blank line. This messed up markdown
formatting.

The culprit is the regex /^\s*#\s/ which matches all of the comment ' #\n',
however we want to leave the newline alone for markdown to parse.
We replace the regex with /^\s*#[ \t]/ which will only match tabs or spaces
after the hash and leave our beloved newline alone.
2015-07-16 11:50:52 -07:00
..
yard_statement.rb (PDOC-30) Fix Markdown parsing lists parsing 2015-07-16 11:50:52 -07:00
yard_transformer.rb (PDOC-26) Rename Puppetx to PuppetX 2015-02-06 14:08:42 -08:00