mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 23:25:20 +00:00
LibWeb: Add missing preprocessing step to the css tokenizer
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user