mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
LibWeb: Fix broken tokenization of hexadecimal character references
We were interpreting 'A'-'F' as decimal digits which didn't work right.
This commit is contained in:
@@ -129,7 +129,7 @@
|
||||
if (current_input_character.has_value() && current_input_character.value() >= 'a' && current_input_character.value() <= 'z')
|
||||
|
||||
#define ON_ASCII_DIGIT \
|
||||
if (current_input_character.has_value() && isxdigit(current_input_character.value()))
|
||||
if (current_input_character.has_value() && isdigit(current_input_character.value()))
|
||||
|
||||
#define ON_ASCII_HEX_DIGIT \
|
||||
if (current_input_character.has_value() && isxdigit(current_input_character.value()))
|
||||
|
||||
Reference in New Issue
Block a user