tdon't hide data inside unknown tags, just show it as inline - webdump - [FORK] git://git.codemadness.org/webdump
(HTM) git clone git://git.z3bra.org/webdump.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 7013a747fe23af9af20cc8bc61f5710c4c1f23f1
(DIR) parent f4dcb532c8a82ac9b3703312e0e1be0de355308b
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 28 Nov 2019 19:17:28 +0100
don't hide data inside unknown tags, just show it as inline
also reported by z3bra, thanks.
Diffstat:
M webdump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/webdump.c b/webdump.c
t@@ -518,7 +518,7 @@ xmldataend(XMLParser *p)
// printf("DEBUG: node: %s, type: %d\n", cur->tagname, cur->tag.displaytype);
- if (cur->tag.displaytype == DisplayUnknown || (cur->tag.displaytype & DisplayNone)) {
+ if ((cur->tag.displaytype & DisplayNone)) {
/* nothing */
} else if ((cur->tag.displaytype & DisplayPre) ||
findparenttype(curnode, DisplayPre)) {