diff options
author | Matthew Loper <mloper@src.gnome.org> | 2000-03-31 04:33:26 +0800 |
---|---|---|
committer | Matthew Loper <mloper@src.gnome.org> | 2000-03-31 04:33:26 +0800 |
commit | b642e45d7aedf5654f264004c19a98136fbd60ac (patch) | |
tree | 08069c4653bfea02b050901d4aaff9f941d4635c /camel | |
parent | 1e87b7cd205c2cd43fef015b7d75dce2c3c7553c (diff) | |
download | gsoc2013-evolution-b642e45d7aedf5654f264004c19a98136fbd60ac.tar.gz gsoc2013-evolution-b642e45d7aedf5654f264004c19a98136fbd60ac.tar.zst gsoc2013-evolution-b642e45d7aedf5654f264004c19a98136fbd60ac.zip |
Use <pre> tag to force the use of monospaced fonts.
* camel-formatter.c (handle_text_plain): Use <pre> tag to force
the use of monospaced fonts.
svn path=/trunk/; revision=2260
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/camel-formatter.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 31ef332e00..8978f68df3 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,8 @@ +2000-03-30 Matt Loper <matt@helixcode.com> + + * camel-formatter.c (handle_text_plain): Use <pre> tag to force + the use of monospaced fonts. + 2000-03-30 Dan Winship <danw@helixcode.com> * camel-service.c (camel_service_getport): Add a htons in the diff --git a/camel/camel-formatter.c b/camel/camel-formatter.c index bed3f4fc5a..1bfbbcf0a7 100644 --- a/camel/camel-formatter.c +++ b/camel/camel-formatter.c @@ -639,6 +639,8 @@ handle_text_plain (CamelFormatter *formatter, CamelDataWrapper *wrapper) camel_stream_write_string (formatter->priv->stream, "\n<!-- text/plain below -->\n"); + camel_stream_write_string (formatter->priv->stream, + "<pre>\n"); if (strcmp (wrapper->mime_type->subtype, "richtext") == 0) { @@ -688,6 +690,8 @@ handle_text_plain (CamelFormatter *formatter, CamelDataWrapper *wrapper) camel_stream_write_string (formatter->priv->stream, "<b>(empty)</b>"); } + camel_stream_write_string (formatter->priv->stream, + "</pre>\n"); debug ("handle_text_plain: exiting\n"); } |