mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 08:51:07 +01:00
[parse_tag] Accept non-ALNUM in tag name
This commit is contained in:
1 parent
9a7afe922b
commit
e8eb1dc5ff
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user