Introduction
Introduction Statistics Contact Development Disclaimer Help
xmltagend: fix checking the correct tag for the node - webdump - HTML to plain-…
git clone git://git.codemadness.org/webdump
Log
Files
Refs
README
LICENSE
---
commit 64010b2be4bc3845ef07db25f8621c7894fe64bb
parent 178ee8229bd4e0cf0cb8dae6a979ccb473b9bf10
Author: Hiltjo Posthuma <[email protected]>
Date: Wed, 22 May 2024 18:47:04 +0200
xmltagend: fix checking the correct tag for the node
Diffstat:
M webdump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/webdump.c b/webdump.c
@@ -1835,7 +1835,7 @@ xmltagend(XMLParser *p, const char *t, size_t tl, int iss…
for handling optional closing tags */
tag = NULL;
for (i = curnode; i >= 0; i--) {
- if (nodes[curnode].tag.name &&
+ if (nodes[i].tag.name &&
!tagcmp(nodes[i].tag.name, t)) {
endnode(&nodes[i]);
curnode = i > 0 ? i - 1 : 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.