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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c
index 8f9950cdd3..1cb517d291 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -1122,7 +1122,7 @@ write_one_text_plain_chunk (const char *text, int len, MailDisplay *md)
{
mail_html_write_string (md->html, md->stream,
"<table cellspacing=0 cellpadding=10 width=\"100%\"><tr><td>\n");
- gtk_html_write (md->html, md->stream, text, len);
+ mail_text_write (md->html, md->stream, "%.*s", len, text);
mail_html_write_string (md->html, md->stream, "</td></tr></table>\n");
}