diff --git a/include/parser5/parser5.hpp b/include/parser5/parser5.hpp index d4edb5d..4961519 100644 --- a/include/parser5/parser5.hpp +++ b/include/parser5/parser5.hpp @@ -308,7 +308,7 @@ inline bool parser5::unicode::isDigit(u8char ch) template inline bool parser5::unicode::isHexDigit(u8char ch) { - return (ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') || (ch >= '0' && ch <= '9'); + return (ch >= 'a' && ch <= 'f') || (ch >= 'A' && ch <= 'F') || (ch >= '0' && ch <= '9'); } template