diff options
author | Dan Winship <danw@src.gnome.org> | 2001-05-17 06:31:49 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-05-17 06:31:49 +0800 |
commit | d0243a91821d311699347c11d454314bdbdfc0fe (patch) | |
tree | 9c58c771ec151df8840fd13445a51a43075311e0 | |
parent | 23bcf6e31ad55d873c00ce3337057106ee471c47 (diff) | |
download | gsoc2013-evolution-d0243a91821d311699347c11d454314bdbdfc0fe.tar gsoc2013-evolution-d0243a91821d311699347c11d454314bdbdfc0fe.tar.gz gsoc2013-evolution-d0243a91821d311699347c11d454314bdbdfc0fe.tar.bz2 gsoc2013-evolution-d0243a91821d311699347c11d454314bdbdfc0fe.tar.lz gsoc2013-evolution-d0243a91821d311699347c11d454314bdbdfc0fe.tar.xz gsoc2013-evolution-d0243a91821d311699347c11d454314bdbdfc0fe.tar.zst gsoc2013-evolution-d0243a91821d311699347c11d454314bdbdfc0fe.zip |
add E_TEXT_TO_HTML_ESCAPE_8BIT to the flags
* mail-format.c (mail_format_raw_message): add
E_TEXT_TO_HTML_ESCAPE_8BIT to the flags
svn path=/trunk/; revision=9860
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-format.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index be019bdf19..1b97ba53d2 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,10 @@ 2001-05-16 Dan Winship <danw@ximian.com> + * mail-format.c (mail_format_raw_message): add + E_TEXT_TO_HTML_ESCAPE_8BIT to the flags + +2001-05-16 Dan Winship <danw@ximian.com> + * folder-browser.c (folder_browser_is_drafts, folder_browser_is_sent, folder_browser_is_outbox): Functions to determine if a folderbrowser is one of the drafts, sent, or outbox 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); |