Fixes NB#120969, signature separator misses trailing space
authorSergio Villar Senin <svillar@igalia.com>
Fri, 5 Jun 2009 14:44:37 +0000 (16:44 +0200)
committerSergio Villar Senin <svillar@igalia.com>
Fri, 5 Jun 2009 14:53:43 +0000 (16:53 +0200)
Do not ignore blank spaces at the end of the line when converting to HTML. In order to do that we use the non-breaking-space

src/modest-text-utils.c

index a644625..6d0b050 100644 (file)
@@ -435,7 +435,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_c (html, ' ');
+                       g_string_append (html, "&nbsp;");
                        space_seen = FALSE;
                }