aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
Diffstat (limited to 'composer')
-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);