xml.c: improve parsing whitespace after end tag names - frontends - front-ends … | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 112804392678394fc1d3df286a6e0e64398cb97c | |
parent 1409d7e079aebdcb02c6ee48b661c0b61eb34efd | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Sun, 30 Jun 2024 10:03:31 +0200 | |
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 | |
@@ -394,6 +394,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'; |