php-html-parser
php-html-parser copied to clipboard
Bad parsing with "<" char in p
<div>
<p>line1</p>
<p>line2 :< cannot be parsed line 3</p>
<p>line3</p>
</div>
$dom->find('div p'); echo count($dom);
Running into this too – if there's a <
gte in the content that's not an HTML element, it dies.