mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-08 14:45:24 +00:00
[parse_tag] Accept non-ALNUM in tag name
This commit is contained in:
parent
9a7afe922b
commit
e8eb1dc5ff
1 changed files with 1 additions and 1 deletions
|
@ -815,7 +815,7 @@ parse_tag (const char **pp, const char *end, hb_tag_t *tag)
|
|||
}
|
||||
|
||||
const char *p = *pp;
|
||||
while (*pp < end && (ISALNUM(**pp) || **pp == '_'))
|
||||
while (*pp < end && (**pp != ' ' && **pp != '=' && **pp != '['))
|
||||
(*pp)++;
|
||||
|
||||
if (p == *pp || *pp - p > 4)
|
||||
|
|
Loading…
Add table
Reference in a new issue