Skip to content

Commit 0e2cc16

Browse files
Merge branch '4.4' into 5.3
* 4.4: [DomCrawler] Fix HTML5 parser charset option cs fix [HttpKernel] Do not attempt to register enum arguments in controller service locator [Cache] Don't lock when doing nested computations [Messenger] fix Redis support on 32b arch [HttpFoundation] Fix notice when HTTP_PHP_AUTH_USER passed without pass
2 parents 921ffde + 42de12b commit 0e2cc16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Crawler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ protected function sibling(\DOMNode $node, string $siblingDir = 'nextSibling')
11461146

11471147
private function parseHtml5(string $htmlContent, string $charset = 'UTF-8'): \DOMDocument
11481148
{
1149-
return $this->html5Parser->parse($this->convertToHtmlEntities($htmlContent, $charset), [], $charset);
1149+
return $this->html5Parser->parse($this->convertToHtmlEntities($htmlContent, $charset));
11501150
}
11511151

11521152
private function parseXhtml(string $htmlContent, string $charset = 'UTF-8'): \DOMDocument

0 commit comments

Comments
 (0)