Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Incorrectly parses certain embedded html #25

mvgrimes opened this Issue Oct 22, 2013 · 1 comment


None yet
2 participants

The following html (which was embedded in a large markdown file):

<!-- comment -->
<!-- comment -->

is incorrectly converted into:

<!-- comment -->


<!-- comment -->

This occurs for any HTML block following the style section (ie, form, p).


daleevans commented Mar 3, 2015

This problem occurs when processing any block level element that is surrounded by an HTML comment. A mimimal test case is:




This is because we hashify block level elements, and then we hashify comments, but we don't continue de-hashing until there are no more hashes.

Fixed: #31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment