mity / md4c

C Markdown parser. Fast. SAX-like interface. Compliant to CommonMark specification.
MIT License
755 stars 138 forks source link

Tags `<h2>` ... `<h6>` not recognized as tags for HTML block type 6. #214

Closed mity closed 5 months ago

mity commented 5 months ago

The input

<h1>lorem</h1>

<h2>lorem</h2>

<h3>lorem</h3>

<h4>lorem</h4>

<h5>lorem</h5>

<h6>lorem</h6>

renders

<h1>lorem</h1>
<p><h2>lorem</h2></p>
<p><h3>lorem</h3></p>
<p><h4>lorem</h4></p>
<p><h5>lorem</h5></p>
<p><h6>lorem</h6></p>