projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b59699
)
fix bug 3236, 'sc_html_parse_tag() does not recognize '<br/>' as line break'
author
Paul
<paul@claws-mail.org>
Wed, 30 Jul 2014 11:58:18 +0000
(12:58 +0100)
committer
Paul
<paul@claws-mail.org>
Wed, 30 Jul 2014 11:58:18 +0000
(12:58 +0100)
Patch by Fabian Keil.
src/html.c
patch
|
blob
|
history
diff --git
a/src/html.c
b/src/html.c
index 71338af1fc27bd4d2c337e3c70336bd416220370..ff5a61eb3beebca9ef60f9f56947e21712df9a3e 100644
(file)
--- 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;