From b05794f797b0c92a0080059964948f38e00a25d9 Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Thu, 11 Dec 2003 02:26:03 +0000 Subject: (efh_text_enriched): add table around the enriched part so it matches html and text modes. svn path=/trunk/; revision=23922 --- mail/ChangeLog | 2 ++ mail/em-format-html.c | 12 ++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index a2db32a3b8..4cb12cad6a 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,6 +1,8 @@ 2003-12-10 Larry Ewing * em-format-html.c: add text/x-patch as a plain type. + (efh_text_enriched): add table around the enriched part so it + matches html and text modes. 2003-12-10 Jeffrey Stedfast diff --git a/mail/em-format-html.c b/mail/em-format-html.c index fa7abad068..db881e17a1 100644 --- a/mail/em-format-html.c +++ b/mail/em-format-html.c @@ -759,11 +759,19 @@ efh_text_enriched(EMFormatHTML *efh, CamelStream *stream, CamelMimePart *part, E camel_stream_filter_add(filtered_stream, enriched); camel_object_unref(enriched); - camel_stream_write_string(stream, EFH_TABLE_OPEN "\n"); + camel_stream_printf (stream, + "
\n" + "
\n" + "\n", + efh->frame_colour & 0xffffff, efh->content_colour & 0xffffff); + em_format_format_text((EMFormat *)efh, (CamelStream *)filtered_stream, dw); - camel_stream_write_string(stream, "
\n"); camel_object_unref(filtered_stream); + camel_stream_write_string(stream, + "
\n" + "
\n" + "\n"); } static void -- cgit