From abba8d4ea38ab43b7d4ab5fdc8881ca249b353b2 Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Sat, 18 Jan 2003 03:55:29 +0000 Subject: wrap eriched entries with a table so that they get proper indentation. 2003-01-17 Larry Ewing * mail-format.c (handle_text_enriched): wrap eriched entries with a table so that they get proper indentation. svn path=/trunk/; revision=19512 --- mail/ChangeLog | 5 +++++ mail/mail-format.c | 5 ++--- 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 + + * mail-format.c (handle_text_enriched): wrap eriched entries with + a table so that they get proper indentation. + 2003-01-17 Jeffrey Stedfast * 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, "\n", 5); - + camel_stream_write_string ((CamelStream *) stream, STANDARD_ISSUE_TABLE_OPEN "\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, "\n", 6); + camel_stream_write_string ((CamelStream *) stream, "\n"); camel_object_unref (filtered_stream); return TRUE; -- cgit