aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-format.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r--mail/mail-format.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c
index 81766f6206..5e5975f211 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -978,14 +978,14 @@ handle_text_plain_flowed (char *buf, MailDisplay *md)
mail_html_write (md->html, md->stream,
"<font color=\"#%06x\">",
citation_color);
+ if (br_pending)
+ br_pending--;
}
while (quoting > prevquoting) {
mail_html_write (md->html, md->stream,
"<blockquote>");
prevquoting++;
}
- if (br_pending)
- br_pending--;
while (quoting < prevquoting) {
mail_html_write (md->html, md->stream,
"</blockquote>");
@@ -994,6 +994,8 @@ handle_text_plain_flowed (char *buf, MailDisplay *md)
if (quoting == 0) {
mail_html_write (md->html, md->stream,
"</font>\n");
+ if (br_pending)
+ br_pending--;
}
}