about summary refs log tree commit diff stats
path: root/src/LYCharUtils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYCharUtils.c')
-rw-r--r--src/LYCharUtils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LYCharUtils.c b/src/LYCharUtils.c
index a0a68ecf..85a65383 100644
--- a/src/LYCharUtils.c
+++ b/src/LYCharUtils.c
@@ -2058,7 +2058,7 @@ PUBLIC char *LYParseTagParam ARGS2(
 
     StrAllocCopy(result, string);
     len = 0;
-    while (isprint(UCH(string[len])) && string[len] != ';') {
+    while (isprint(UCH(string[len])) && !isspace(UCH(string[len]))) {
 	len++;
     }
     result[len] = '\0';