webdump

Fork of git://git.codemadness.org/webdump
git clone git://git.z3bra.org/webdump.git
Log | Files | Refs | README | LICENSE

commit d7198b3833b3ab4187d1a3bfa13ac285cc9bb4e6
parent 81fa07a9483e58eba2f9e4dae6349881fbb097f8
Author: Willy Goiffon <dev@z3bra.org>
Date:   Thu, 10 Oct 2019 00:10:10 +0200

Do not process tag end when curtag is <br>

Diffstat:
webdump.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/webdump.c b/webdump.c @@ -600,6 +600,8 @@ xmltagstartparsed(XMLParser *p, const char *t, size_t tl, int isshort) getnext = p->getnext; /* for restore */ p->getnext = getnext_ignore; return; + } else if (!strcasecmp(t, "br")) { + return; } cur = &nodes[curnode];