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 c4cb44f961
commit 34ac5154e7
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;
}