summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vf_parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vf_parser.c b/src/vf_parser.c
index 2c7221c..1197154 100644
--- a/src/vf_parser.c
+++ b/src/vf_parser.c
@@ -333,9 +333,9 @@ bool_t vf_parse_text(
/* Ignore */
}
else
- if (SPACE == c)
+ if ((SPACE == c) || (TAB == c))
{
- ok = append_to_curr_string(&(p_parse->prop.value.v.s), NULL, &c, 1);
+ /* Ignore leading white space characters when unfolding */
p_parse->state = _VF_STATE_RFC822VALUE;
}