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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c
index 289af71a97..3868cf23e8 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -1300,12 +1300,11 @@ handle_text_enriched (CamelMimePart *part, const char *mime_type,
camel_stream_filter_add (filtered_stream, enriched);
camel_object_unref (enriched);
- camel_stream_write ((CamelStream *) stream, "<tt>\n", 5);
-
+ camel_stream_write_string ((CamelStream *) stream, STANDARD_ISSUE_TABLE_OPEN "<tr><td><tt>\n");
wrapper = camel_medium_get_content_object (CAMEL_MEDIUM (part));
mail_format_data_wrapper_write_to_stream (wrapper, md, (CamelStream *) filtered_stream);
- camel_stream_write ((CamelStream *) stream, "</tt>\n", 6);
+ camel_stream_write_string ((CamelStream *) stream, "</tt></td></tr></table>\n");
camel_object_unref (filtered_stream);
return TRUE;