Skip to content

Commit

Permalink
escape special characters in more files
Browse files Browse the repository at this point in the history
  • Loading branch information
diosmosis committed Mar 5, 2024
1 parent 1a17546 commit 246500d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/core-scoper.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ static function (string $filePath, string $prefix, string $content) use ($isRena
|| preg_match('%symfony/string/AbstractUnicodeString\\.php$%', $filePath)
|| preg_match('%plugins/ImageGraph/StaticGraph\\.php$%', $filePath)
|| preg_match('%symfony/polyfill-intl-normalizer/Resources/unidata/compatibilityDecomposition\\.php$%', $filePath)
|| preg_match('%symfony/yaml/Escaper\\.php$%', $filePath)
|| preg_match('%symfony/yaml/Unescaper\\.php$%', $filePath)
) {
$content = str_replace(html_entity_decode(' '), "\\xC2\\xA0", $content);
}
Expand Down

0 comments on commit 246500d

Please sign in to comment.