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/camel-formatter.c | |
parent | 1e87b7cd205c2cd43fef015b7d75dce2c3c7553c (diff) | |
download | gsoc2013-evolution-b642e45d7aedf5654f264004c19a98136fbd60ac.tar gsoc2013-evolution-b642e45d7aedf5654f264004c19a98136fbd60ac.tar.gz gsoc2013-evolution-b642e45d7aedf5654f264004c19a98136fbd60ac.tar.bz2 gsoc2013-evolution-b642e45d7aedf5654f264004c19a98136fbd60ac.tar.lz gsoc2013-evolution-b642e45d7aedf5654f264004c19a98136fbd60ac.tar.xz 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/camel-formatter.c')
-rw-r--r-- | camel/camel-formatter.c | 4 |
1 files changed, 4 insertions, 0 deletions
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"); } |