Automatic links don't parse correctly inside markdown="1" blocks
robinadr opened this issue · comments
Robin Adrianse commented
Originally from here: erusev/parsedown#296
All of the following is from the demo (http://parsedown.org/extra/).
Input:
<div markdown="1">
Testing *this*.
<test@test.com>
<http://www.google.com/>
</div>
Expected output (also what PHP Markdown Extra shows):
<div>
<p>Testing <em>this</em>.</p>
<p><a href="mailto:test@test.com">test@test.com</a></p>
<p><a href="http://www.google.com/">http://www.google.com/</a></p>
</div>
What actually gets output by Parsedown Extra:
<div>
<p>Testing <em>this</em>.</p>
<test><http:></http:></test>
</div>