diff --git a/src/util/parser.c b/src/util/parser.c index e66e2b724..e0f6aeb67 100644 --- a/src/util/parser.c +++ b/src/util/parser.c @@ -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; }