aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-composer-private.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2013-02-27 01:10:35 +0800
committerMilan Crha <mcrha@redhat.com>2013-02-27 01:10:35 +0800
commite5bb2b4ca20fb27197de4eb481b21fec3163f7ee (patch)
tree8f24ea06ac3a18c2ed7eb5c6d32a0c4ab827ee8f /composer/e-composer-private.c
parent1017235658bbb8899863c11e88075434034a6f32 (diff)
downloadgsoc2013-evolution-e5bb2b4ca20fb27197de4eb481b21fec3163f7ee.tar.gz
gsoc2013-evolution-e5bb2b4ca20fb27197de4eb481b21fec3163f7ee.tar.zst
gsoc2013-evolution-e5bb2b4ca20fb27197de4eb481b21fec3163f7ee.zip
Bug #693250 - Signature HTML problem using <...>
Diffstat (limited to 'composer/e-composer-private.c')
-rw-r--r--composer/e-composer-private.c12
1 files changed, 12 insertions, 0 deletions
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);