You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description <meta http-equiv="Content-Type" content="text/html; charset=unicode">
Parsing an HTML document with Crawler and meta http-equiv mentioned above, then retrieving the result, and all nodes are empty although *Symfony\Component\DomCrawler\Crawler*html5Parser has errors - Line 0, Col 0: Unexpected text. Ignoring... no chance to get this error, crawler doesn't allow us to get error
Symfony version(s) affected:
symfony/dom-crawler 5.2.10
Description
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
Parsing an HTML document with Crawler and meta http-equiv mentioned above, then retrieving the result, and all nodes are empty although
*Symfony\Component\DomCrawler\Crawler*html5Parser
has errors -Line 0, Col 0: Unexpected text. Ignoring...
no chance to get this error, crawler doesn't allow us to get errorHow to reproduce
Possible Solution
add getter to
$html5Parser
or make it protectedAdditional context

The text was updated successfully, but these errors were encountered: