projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b963ff
)
Fix br conversion in text utils
author
Jose Dapena Paz
<jdapena@igalia.com>
Thu, 3 Dec 2009 19:37:28 +0000
(20:37 +0100)
committer
Jose Dapena Paz
<jdapena@igalia.com>
Fri, 4 Dec 2009 11:44:24 +0000
(12:44 +0100)
src/modest-text-utils.c
patch
|
blob
|
history
diff --git
a/src/modest-text-utils.c
b/src/modest-text-utils.c
index
9f59f5e
..
db45cde
100644
(file)
--- a/
src/modest-text-utils.c
+++ b/
src/modest-text-utils.c
@@
-530,7
+530,7
@@
modest_text_utils_convert_buffer_to_html_start (GString *html, const gchar *data
/* don't convert ' --> wpeditor will try to re-convert it... */
//case '\'' : g_string_append (html, "'"); break;
- case '\n' : g_string_append (html, "<br>\n");break_dist= 0; break;
+ case '\n' : g_string_append (html, "<br/>\n");break_dist= 0; break;
case '\t' : g_string_append (html, MARK_AMP_STR "nbsp;" MARK_AMP_STR "nbsp;" MARK_AMP_STR "nbsp; ");
break_dist=0; break; /* note the space at the end*/
case ' ':