Should not throw exception on invalid chars in URL (`*` not allowed in path) [malformed URI] . [foo](<%test>) .

foo

. Should not throw exception on broken utf-8 sequence in URL [malformed URI] . [foo](%C3) .

foo

. Should not throw exception on broken utf-16 surrogates sequence in URL [malformed URI] . [foo](�) .

foo

. Should not hang comments regexp . foo .

foo <!— xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ->

foo <!------------------------------------------------------------------->

. Should not hang cdata regexp . foo .

foo <![CDATA[ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ]>

.