From e5bb2b4ca20fb27197de4eb481b21fec3163f7ee Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 26 Feb 2013 18:10:35 +0100 Subject: Bug #693250 - Signature HTML problem using <...> --- composer/e-composer-private.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'composer') diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c index 605670dfbd..7ada4fd9f7 100644 --- a/composer/e-composer-private.c +++ b/composer/e-composer-private.c @@ -982,6 +982,18 @@ composer_load_signature_cb (EMailSignatureComboBox *combo_box, if (contents == NULL) goto insert; + if (!is_html) { + gchar *html; + + html = camel_text_to_html (contents, 0, 0); + if (html) { + g_free (contents); + + contents = html; + length = strlen (contents); + } + } + /* Generate HTML code for the signature. */ html_buffer = g_string_sized_new (1024); -- cgit v1.2.3