diff options
Diffstat (limited to 'libsylph')
-rw-r--r-- | libsylph/codeconv.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libsylph/codeconv.c b/libsylph/codeconv.c index b7554fa8..2911aff7 100644 --- a/libsylph/codeconv.c +++ b/libsylph/codeconv.c @@ -2263,9 +2263,13 @@ void conv_encode_header(gchar *dest, gint len, const gchar *src, p += mb_len; } else if (cur_len == 0) { LBREAK_IF_REQUIRED(1, FALSE); + if (*p == '"') + in_quote ^= TRUE; continue; } else { cont = TRUE; + if (*p == '"') + in_quote ^= TRUE; break; } } |