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 d0c70faeca..108ca3f504 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -189,7 +189,7 @@ mail_format_raw_message (CamelMimeMessage *mime_message, MailDisplay *md)
g_return_if_fail (CAMEL_IS_MIME_MESSAGE (mime_message));
text = get_data_wrapper_text (CAMEL_DATA_WRAPPER (mime_message));
- html = e_text_to_html (text, E_TEXT_TO_HTML_CONVERT_NL | E_TEXT_TO_HTML_CONVERT_SPACES);
+ html = e_text_to_html (text, E_TEXT_TO_HTML_CONVERT_NL | E_TEXT_TO_HTML_CONVERT_SPACES | E_TEXT_TO_HTML_ESCAPE_8BIT);
gtk_html_write (md->html, md->stream, "<tt>", 4);
gtk_html_write (md->html, md->stream, html, strlen (html));
gtk_html_write (md->html, md->stream, "</tt>", 5);