aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-01-12 08:21:18 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-01-12 08:21:18 +0800
commit2bb038ba70f1320672ee15086f5d76b08c8ea10e (patch)
treee5c5594d2d6021f8ea91ddf05437be08b464b614
parent8324d0e39d9036ee2fb9fed89764c70b97141564 (diff)
downloadgsoc2013-evolution-2bb038ba70f1320672ee15086f5d76b08c8ea10e.tar
gsoc2013-evolution-2bb038ba70f1320672ee15086f5d76b08c8ea10e.tar.gz
gsoc2013-evolution-2bb038ba70f1320672ee15086f5d76b08c8ea10e.tar.bz2
gsoc2013-evolution-2bb038ba70f1320672ee15086f5d76b08c8ea10e.tar.lz
gsoc2013-evolution-2bb038ba70f1320672ee15086f5d76b08c8ea10e.tar.xz
gsoc2013-evolution-2bb038ba70f1320672ee15086f5d76b08c8ea10e.tar.zst
gsoc2013-evolution-2bb038ba70f1320672ee15086f5d76b08c8ea10e.zip
** See bug 52737.
2004-01-12 Not Zed <NotZed@Ximian.com> ** See bug 52737. * em-format-html.c (efh_text_plain): treat text/* as inline content from the made-up multipart. svn path=/trunk/; revision=24159
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/em-format-html.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index ae58656df8..ea373a045e 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2004-01-12 Not Zed <NotZed@Ximian.com>
+
+ ** See bug 52737.
+
+ * em-format-html.c (efh_text_plain): treat text/* as inline
+ content from the made-up multipart.
+
2004-01-09 Not Zed <NotZed@Ximian.com>
** See bug 52696.
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 47d23c9146..236492eb17 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -720,7 +720,7 @@ efh_text_plain(EMFormatHTML *efh, CamelStream *stream, CamelMimePart *part, EMFo
CamelMimePart *newpart = camel_multipart_get_part(mp, i);
type = camel_mime_part_get_content_type(newpart);
- if (camel_content_type_is (type, "text", "plain")) {
+ if (camel_content_type_is (type, "text", "*")) {
camel_stream_write_string(stream, "<tt>\n");
em_format_format_text((EMFormat *)efh, (CamelStream *)filtered_stream, camel_medium_get_content_object((CamelMedium *)newpart));
camel_stream_flush((CamelStream *)filtered_stream);