aboutsummaryrefslogtreecommitdiffstats
path: root/mail
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
parentf4a030d2fa7f74ff382996c15d15b5e2b6f2fb29 (diff)
downloadgsoc2013-evolution-abba8d4ea38ab43b7d4ab5fdc8881ca249b353b2.tar
gsoc2013-evolution-abba8d4ea38ab43b7d4ab5fdc8881ca249b353b2.tar.gz
gsoc2013-evolution-abba8d4ea38ab43b7d4ab5fdc8881ca249b353b2.tar.bz2
gsoc2013-evolution-abba8d4ea38ab43b7d4ab5fdc8881ca249b353b2.tar.lz
gsoc2013-evolution-abba8d4ea38ab43b7d4ab5fdc8881ca249b353b2.tar.xz
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')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-format.c5
2 files changed, 7 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 79dae4b8b6..3d35da3a69 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2003-01-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-session.c (do_get_pass): Updated.
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;