make parse_token trim ignored characters like zero-width spaces.

This commit is contained in:
Enno Rehling 2020-03-14 11:57:29 +01:00
parent 1e6f1f8bd8
commit 8bf8b68571
1 changed files with 1 additions and 0 deletions

View File

@ -223,6 +223,7 @@ char *parse_token(const char **str, char *lbuf, size_t buflen)
}
*cursor = '\0';
unicode_utf8_trim(lbuf);
*str = ctoken;
return lbuf;
}