aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-format.c
diff options
context:
space:
mode:
authorLarry Ewing <lewing@ximian.com>2003-01-18 11:55:29 +0800
committerLarry Ewing <lewing@src.gnome.org>2003-01-18 11:55:29 +0800
commitabba8d4ea38ab43b7d4ab5fdc8881ca249b353b2 (patch)
tree2773d9b3267f4003fc457d007d7fcb82b67728c4 /mail/mail-format.c
parentf4a030d2fa7f74ff382996c15d15b5e2b6f2fb29 (diff)
downloadgsoc2013-evolution-abba8d4ea38ab43b7d4ab5fdc8881ca249b353b2.tar.gz
gsoc2013-evolution-abba8d4ea38ab43b7d4ab5fdc8881ca249b353b2.tar.zst
gsoc2013-evolution-abba8d4ea38ab43b7d4ab5fdc8881ca249b353b2.zip
wrap eriched entries with a table so that they get proper indentation.
2003-01-17 Larry Ewing <lewing@ximian.com> * mail-format.c (handle_text_enriched): wrap eriched entries with a table so that they get proper indentation. svn path=/trunk/; revision=19512
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;