I'm crawling website, which text contains unencoded <
or >
sign.
This breaks it's content, which then appears empty.
Example
$html = '<div id="test-div">< 50%</div>';
$crawler = new \Symfony\Component\DomCrawler\Crawler($html);
echo $crawler->filter('#test-div')->first()->text(); // Empty string
Is there a way I can still get content of #test-div
(which I expect to be < 50%
)?