diff --git a/src/parser/link_url.rs b/src/parser/link_url.rs index 1813111..ff9a57b 100644 --- a/src/parser/link_url.rs +++ b/src/parser/link_url.rs @@ -188,7 +188,7 @@ fn is_reserved(char: char) -> bool { } fn is_hex_digit(c: char) -> bool { - c.is_ascii_digit() + c.is_ascii_hexdigit() } fn escaped_char(input: &str) -> IResult<&str, &str, LinkParseError<&str>> {