fix bug in ignoring character in <script> / <style> - grabtitle - stupid HTML t… | |
git clone git://git.codemadness.org/grabtitle | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 16dfed456fd96d1c483eb515594019d7a5febc86 | |
parent db328d0b3f3bb6988660f62428aed112618ca340 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Sun, 22 Sep 2019 19:49:58 +0200 | |
fix bug in ignoring character in <script> / <style> | |
Diffstat: | |
M grabtitle.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/grabtitle.c b/grabtitle.c | |
@@ -35,7 +35,7 @@ getnext_ignore(void) | |
state++; | |
if (*state == '\0') { | |
parser.getnext = getnext; /* restore */ | |
- return c; | |
+ return ' '; | |
} | |
} else { | |
state = endtag; |