Insert the trailing space of signature separator as " "
authorLucas Maneos <maemo@subs.maneos.org>
Mon, 30 Nov 2009 11:29:17 +0000 (12:29 +0100)
committerSergio Villar Senín <svillar@igalia.com>
Mon, 30 Nov 2009 11:32:59 +0000 (12:32 +0100)
This improves the parsing of signatures by other email clients

https://bugs.maemo.org/show_bug.cgi?id=3941

Fixes NB#120969

src/modest-text-utils.c

index eca911c..3128982 100644 (file)
@@ -500,7 +500,7 @@ modest_text_utils_convert_buffer_to_html_start (GString *html, const gchar *data
                guchar kar = data[i];
                
                if (space_seen && kar != ' ') {
-                       g_string_append (html, " ");
+                       g_string_append (html, "&#32;");
                        space_seen = FALSE;
                }