From b1168c7ffc081d05fe2b600d5dd22b40a3c926c6 Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 10 Nov 2015 14:29:13 +0000 Subject: [PATCH] workaround broken links in html normally, with unbroken html, we'd never get here cos it would have breaked before. --- src/html.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/html.c b/src/html.c index 8f3626078..19cb52c84 100644 --- a/src/html.c +++ b/src/html.c @@ -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")) { -- 2.25.1