Well, that worked with PHP 8.1 but not so well with 8.2. After some more research, my solution would be this:
/src/vendor/symfony/dom-crawler/Crawler.php line 196
$content = htmlspecialchars_decode(htmlentities($content, ENT_COMPAT, 'UTF-8'), ENT_QUOTES);
That older function...