workaround broken links in html
authorPaul <paul@claws-mail.org>
Tue, 10 Nov 2015 14:29:13 +0000 (14:29 +0000)
committerPaul <paul@claws-mail.org>
Tue, 10 Nov 2015 14:29:13 +0000 (14:29 +0000)
normally, with unbroken html, we'd never get here cos it would have
breaked before.

src/html.c

index 8f362607891f4a84f56c3883e331ec61010e918d..19cb52c843ff64ed81d4a04ebc5ac5fcd9a5e199 100644 (file)
@@ -658,6 +658,7 @@ static SC_HTMLState sc_html_parse_tag(SC_HTMLParser *parser)
                                break;
                        }
                }
+               parser->state = SC_HTML_HREF_BEG;
        } else if (!strcmp(tag->name, "/a")) {
                parser->state = SC_HTML_HREF;
        } else if (!strcmp(tag->name, "p")) {