[evolution/wip/webkit-composer] EMailFormatterQuote: Wrap credentials with PRE element



commit c0bc396d49037c33ca4a6bea501eedd6ecaf16fe
Author: Tomas Popela <tpopela redhat com>
Date:   Thu Mar 6 14:10:01 2014 +0100

    EMailFormatterQuote: Wrap credentials with PRE element

 em-format/e-mail-formatter-quote.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/em-format/e-mail-formatter-quote.c b/em-format/e-mail-formatter-quote.c
index bc46a55..ba5b29c 100644
--- a/em-format/e-mail-formatter-quote.c
+++ b/em-format/e-mail-formatter-quote.c
@@ -121,7 +121,7 @@ mail_formatter_quote_run (EMailFormatter *formatter,
         * the special span element and it will be moved to body in EEditorWidget */
        if (qf->priv->credits && *qf->priv->credits) {
                gchar *credits = g_strdup_printf (
-                       "<span class=\"-x-evo-to-body\">%s</span>", qf->priv->credits);
+                       "<span class=\"-x-evo-to-body\"><pre>%s</pre></span>", qf->priv->credits);
                camel_stream_write_string (stream, credits, cancellable, NULL);
                g_free (credits);
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]