bobtfish / text-markdown

The perl Text::Markdown CPAN module
Other
50 stars 21 forks source link

Nested hashification #31

Closed daleevans closed 9 years ago

daleevans commented 9 years ago

Fixes this issue: https://github.com/bobtfish/text-markdown/issues/25

When a block element is inside a comment, the block is hashed out, then the comment is hashed out. Then on the way back out, the comment is dehashed, leaving the hashed block which is then never dehashed. Patch includes fix as well as regression test.