We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8603d6e commit 314f470Copy full SHA for 314f470
HtmlSanitizer.php
@@ -68,7 +68,7 @@ public function sanitizeFor(string $element, string $input): string
68
}
69
70
// Remove NULL character and HTML entities for null byte
71
- $input = str_replace([\chr(0), '�', '�', '�', '�'], '�', $input);
+ $input = str_replace(\chr(0), '�', $input);
72
73
// Parse as HTML
74
if ('' === trim($input) || !$parsed = $this->parser->parse($input, $element)) {
0 commit comments