kjdev / hoextdown

Hoextdown is an extension to Hoedown
MIT License
23 stars 15 forks source link

Fix issue with consecutive HTML endings not being parsed. #51

Closed NEricN closed 6 years ago

NEricN commented 6 years ago

With the recent changes, old HTML that followed the pattern

now have the last

parsed as a paragraph. The previous behavior started a new HTML block if it finds a line that starts with <. This isn't very reliable, so I added a check to make sure it isn't "</". It's still fragile, but less so.