Introduction
Introduction Statistics Contact Development Disclaimer Help
improve parsing whitespace after end tag names - sfeed - RSS and Atom parser
git clone git://git.codemadness.org/sfeed
Log
Files
Refs
README
LICENSE
---
commit 1f6dfac83e8325a42dc5faa2e31cc25593acdfc8
parent 1f76c85ab88f0a1a36c7769a0b8ac13b9072105b
Author: Hiltjo Posthuma <[email protected]>
Date: Sun, 30 Jun 2024 09:59:48 +0200
improve parsing whitespace after end tag names
Simplified test-case:
https://git.codemadness.org/sfeed_tests/commit/e091160c3125322193bd8f27691c87ea…
Diffstat:
M xml.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/xml.c b/xml.c
@@ -333,6 +333,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';
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.