Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed
https://markdown-it.github.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1002 B
41 lines
1002 B
Should not throw exception on invalid chars in URL (`*` not allowed in path) [mailformed URI]
|
|
.
|
|
[foo](<%test>)
|
|
.
|
|
<p><a href="%25test">foo</a></p>
|
|
.
|
|
|
|
|
|
Should not throw exception on broken utf-8 sequence in URL [mailformed URI]
|
|
.
|
|
[foo](%C3)
|
|
.
|
|
<p><a href="%C3">foo</a></p>
|
|
.
|
|
|
|
|
|
Should not throw exception on broken utf-16 surrogates sequence in URL [mailformed URI]
|
|
.
|
|
[foo](�)
|
|
.
|
|
<p><a href="&#xD800;">foo</a></p>
|
|
.
|
|
|
|
|
|
Should not hang comments regexp
|
|
.
|
|
foo <!--- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ->
|
|
|
|
foo <!------------------------------------------------------------------->
|
|
.
|
|
<p>foo <!— xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -></p>
|
|
<p>foo <!-------------------------------------------------------------------></p>
|
|
.
|
|
|
|
|
|
Should not hang cdata regexp
|
|
.
|
|
foo <![CDATA[ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ]>
|
|
.
|
|
<p>foo <![CDATA[ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ]></p>
|
|
.
|
|
|