Knagis/CommonMark.NET

h1 tag problem

Closed this issue · 1 comments

When I input this:

<span>Normal span<span>
[Link A](http://xx.com)
<h1>Header 1</h1>
[Link B](http://xx.com)

The output string is:

<p><span>Normal span<span>
<a href="http://xx.com">Link A</a></p>
<h1>Header 1</h1>
[Link B](http://xx.com)

And it displayed like this:
image

The Link B wasn't processed.
It seams like that all markdown syntax text will not be processed if it after 'h1' tag.

See try.commonmark.org - this is according to the specification.

See the HTML block section in the specification for details.