aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-format.c6
2 files changed, 7 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index a0292c068f..5fd28357c3 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2003-02-23 Jeffrey Stedfast <fejj@ximian.com>
+ * mail-format.c (write_text_header): bitwise-or in
+ CAMEL_MIME_FILTER_TOHTML_CONVERT_SPACES to fix bug #38499.
+
* mail-search.c (mail_search_destroy): New overloaded virtual
method, does what dialog_destroy_cb was trying to do.
(mail_search_construct): Connect to the "response" signal rather
diff --git a/mail/mail-format.c b/mail/mail-format.c
index d3e8e1110c..3b15eb04f6 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -3,7 +3,7 @@
* Authors: Dan Winship <danw@ximian.com>
* Jeffrey Stedfast <fejj@ximian.com>
*
- * Copyright 2000, 2001 Ximian, Inc.
+ * Copyright 2000, 2003 Ximian, Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
@@ -767,7 +767,9 @@ write_text_header (MailDisplayStream *stream, const char *name, const char *valu
char *encoded;
if (value && *value)
- encoded = camel_text_to_html (value, CAMEL_MIME_FILTER_TOHTML_CONVERT_NL | CAMEL_MIME_FILTER_TOHTML_CONVERT_URLS, 0);
+ encoded = camel_text_to_html (value, CAMEL_MIME_FILTER_TOHTML_CONVERT_NL |
+ CAMEL_MIME_FILTER_TOHTML_CONVERT_SPACES |
+ CAMEL_MIME_FILTER_TOHTML_CONVERT_URLS, 0);
else
encoded = "";