paquettg/php-html-parser

Bad parsing with "<" char in p

tmkook opened this issue · 1 comments

<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.