[evolution] Bug #693250 - Signature HTML problem using <...>
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug #693250 - Signature HTML problem using <...>
- Date: Tue, 26 Feb 2013 17:11:03 +0000 (UTC)
commit e5bb2b4ca20fb27197de4eb481b21fec3163f7ee
Author: Milan Crha <mcrha redhat com>
Date: Tue Feb 26 18:10:35 2013 +0100
Bug #693250 - Signature HTML problem using <...>
composer/e-composer-private.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c
index 605670d..7ada4fd 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]