sync from xml.c: improve parsing whitespace after end tag names - grabtitle - s… | |
git clone git://git.codemadness.org/grabtitle | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 29e4807c53d136de19f775b7d08b3c1c3a14d76d | |
parent 504468dfde3fd13d0b695f54ba87a8a913d0e9fb | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Sun, 30 Jun 2024 10:10:48 +0200 | |
sync from xml.c: improve parsing whitespace after end tag names | |
Diffstat: | |
M xml.c | 2 ++ | |
1 file changed, 2 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/xml.c b/xml.c | |
@@ -279,6 +279,8 @@ xml_parse(XMLParser *x) | |
else if (c == '>' || isspace(c)) { | |
x->tag[x->taglen] = '\0'; | |
if (isend) { /* end tag, start… | |
+ while (c != '>' && c !… | |
+ c = GETNEXT(); | |
if (x->xmltagend) | |
x->xmltagend(x… | |
x->tag[0] = '\0'; |