fix bug in ignoring character in <script> / <style> - grabtitle - stupid HTML title grabber
(HTM) git clone git://git.codemadness.org/grabtitle
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 16dfed456fd96d1c483eb515594019d7a5febc86
(DIR) parent db328d0b3f3bb6988660f62428aed112618ca340
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
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(-)
---
(DIR) 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;