Skip to content

Commit 314f470

Browse files
fix merge
1 parent 8603d6e commit 314f470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HtmlSanitizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function sanitizeFor(string $element, string $input): string
6868
}
6969

7070
// Remove NULL character and HTML entities for null byte
71-
$input = str_replace([\chr(0), '�', '�', '�', '�'], '', $input);
71+
$input = str_replace(\chr(0), '', $input);
7272

7373
// Parse as HTML
7474
if ('' === trim($input) || !$parsed = $this->parser->parse($input, $element)) {

0 commit comments

Comments
 (0)