diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <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; |