Skip to content

Commit 08c6e95

Browse files
Merge branch '5.4' into 6.0
* 5.4: [5.4] cs fixes [5.3] cs fixes [Cache] Fix saving items with no expiration through ProxyAdapter CS fixes [HttpClient] Fix tracing requests made after calling withOptions() [Cache] disable lock on CLI Revert "feature #41989 [Cache] make `LockRegistry` use semaphores when possible (nicolas-grekas)" [HttpKernel] fix how configuring log-level and status-code by exception works [VarDumper] add more "transient-on-macos" groups
2 parents 5f05ce4 + b7e6883 commit 08c6e95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Crawler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,11 +1085,11 @@ private function convertToHtmlEntities(string $htmlContent, string $charset = 'U
10851085

10861086
try {
10871087
return mb_convert_encoding($htmlContent, 'HTML-ENTITIES', $charset);
1088-
} catch (\Exception | \ValueError $e) {
1088+
} catch (\Exception|\ValueError $e) {
10891089
try {
10901090
$htmlContent = iconv($charset, 'UTF-8', $htmlContent);
10911091
$htmlContent = mb_convert_encoding($htmlContent, 'HTML-ENTITIES', 'UTF-8');
1092-
} catch (\Exception | \ValueError $e) {
1092+
} catch (\Exception|\ValueError $e) {
10931093
}
10941094

10951095
return $htmlContent;

0 commit comments

Comments
 (0)