aboutsummaryrefslogtreecommitdiffstats
path: root/src/content-parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/content-parser.c')
-rw-r--r--src/content-parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/content-parser.c b/src/content-parser.c
index a9ab9af..8bdd861 100644
--- a/src/content-parser.c
+++ b/src/content-parser.c
@@ -1043,6 +1043,8 @@ hr:
goto para;
if (c == ' ' || c == '\t')
break;
+ if (c == '\n' || c == '\r')
+ goto param_end;
prefix = b_strndup(src + start2, current - start2);
state = CONTENT_DIRECTIVE_PARAM_PREFIX;
current--;