On 10.0.1, the following XML:
<?xml version="1.0"?>
<response value="ok" xml:lang="en">
<text>Ok</text>
<comment html_allowed="true"/>
<ns1:description><![CDATA[
CDATA is <not> magical.
]]></ns1:description>
<a></a> <a/>
</response>
When passed through highlightAuto or highlight with ignore_illegals turned on, will cause an infinite loop, specifically, because of '$' as an illegal in CSS selector attributes:
On 10.0.1, the following XML:
When passed through
highlightAutoorhighlightwithignore_illegalsturned on, will cause an infinite loop, specifically, because of'$'as an illegal in CSS selector attributes:highlight.js/src/languages/css.js
Line 72 in e8624cc