[Commits] [SCM] claws branch, master, updated. 3.10.1-134-g6e2217d

claws at claws-mail.org claws at claws-mail.org
Wed Jul 30 13:58:25 CEST 2014


The branch, master has been updated
       via  6e2217d5bb5722a5426158f49bcaed95005a28f6 (commit)
      from  9b59699c9ede6cedd022cced9b1afe15aca0ff22 (commit)

Summary of changes:
 src/html.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 6e2217d5bb5722a5426158f49bcaed95005a28f6
Author: Paul <paul at claws-mail.org>
Date:   Wed Jul 30 12:58:18 2014 +0100

    fix bug 3236, 'sc_html_parse_tag() does not recognize '<br/>' as line break'
    
    Patch by  Fabian Keil.

diff --git a/src/html.c b/src/html.c
index 71338af..ff5a61e 100644
--- a/src/html.c
+++ b/src/html.c
@@ -643,7 +643,7 @@ static SC_HTMLState sc_html_parse_tag(SC_HTMLParser *parser)
 	parser->state = SC_HTML_UNKNOWN;
 	if (!tag) return SC_HTML_UNKNOWN;
 
-	if (!strcmp(tag->name, "br")) {
+	if (!strcmp(tag->name, "br") || !strcmp(tag->name, "br/")) {
 		parser->space = FALSE;
 		sc_html_append_char(parser, '\n');
 		parser->state = SC_HTML_BR;

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list