<p>Taking commonmark tests from the spec for benchmarking here:</p>
<p><a><bab><c2c></p>
<p><a/><b2/></p>
<p><a  /><b2
data="foo" ></p>
<p><a foo="bar" bam = 'baz <em>"</em>'
_boolean zoop:33=zoop:33 /></p>
<p>&lt;33&gt; &lt;__&gt;</p>
<p>&lt;a h*#ref=&quot;hi&quot;&gt;</p>
<p>&lt;a href=&quot;hi'&gt; &lt;a href=hi'&gt;</p>
<p>&lt; a&gt;&lt;
foo&gt;&lt;bar/ &gt;</p>
<p>&lt;a href='bar'title=title&gt;</p>
</a>
</foo >
<p>&lt;/a href=&quot;foo&quot;&gt;</p>
<p>foo <!-- this is a
comment - with hyphen --></p>
<p>foo <!-- not a comment -- two hyphens --></p>
<p>foo <?php echo $a; ?></p>
<p>foo <!ELEMENT br EMPTY></p>
<p>foo <![CDATA[>&<]]></p>
<a href="&ouml;">
<a href="\*">
<p>&lt;a href=&quot;&quot;&quot;&gt;</p>
