HTML comments do not follow the 0.30 spec
Opened this issue · 0 comments
zombiezen commented
cmark 0.30.3 does not follow the spec for Example 625 and Example 626.
Example input to cmark --unsafe
:
foo <!-- not a comment -- two hyphens -->
foo <!--> foo -->
foo <!-- foo--->
Expected output:
<p>foo <!-- not a comment -- two hyphens --></p>
<p>foo <!--> foo --></p>
<p>foo <!-- foo---></p>
Actual output:
<p>foo <!-- not a comment -- two hyphens --></p>
<p>foo <!--> foo --></p>
<p>foo <!-- foo---></p>