Skip to content

Commit 65f91e1

Browse files
committed
Use printed Unicode replacement character
1 parent 8d7b59b commit 65f91e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/phpunit/tests/css-api/wpCssBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public static function data_string_escaping(): array {
3939
'backslash before quote' => array( "a\\'b", '"a\5C \27 b"' ),
4040

4141
// NULL byte → U+FFFD replacement character.
42-
'null byte' => array( "a\0b", "\"a\u{FFFD}b\"" ),
42+
'null byte' => array( "a\0b", '"a�b"' ),
4343

4444
// Newline normalization — all variants become \A escape.
4545
'LF' => array( "a\nb", '"a\A b"' ),

0 commit comments

Comments
 (0)