mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +00:00
LibWeb: Add missing preprocessing step to the css tokenizer
This commit is contained in:
parent
4359d4eb5d
commit
cd73d5c1d0
1 changed files with 2 additions and 0 deletions
|
@ -223,6 +223,8 @@ Tokenizer::Tokenizer(StringView input, String const& encoding)
|
|||
}
|
||||
} else if (code_point == '\f') {
|
||||
builder.append('\n');
|
||||
} else if (code_point == 0x00) {
|
||||
builder.append_code_point(REPLACEMENT_CHARACTER);
|
||||
} else if (code_point >= 0xD800 && code_point <= 0xDFFF) {
|
||||
builder.append_code_point(REPLACEMENT_CHARACTER);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue