Open mvgrimes opened 11 years ago
This problem occurs when processing any block level element that is surrounded by an HTML comment. A mimimal test case is:
<!--
<div></div>
-->
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.
The following html (which was embedded in a large markdown file):
is incorrectly converted into:
This occurs for any HTML block following the
style
section (ie,form
,p
).