diff --git a/ChangeLog b/ChangeLog index 56594187..6f1261f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Apr 22 15:18:01 CEST 2003 Daniel Veillard + + * HTMLparser.c: tried to fix #98879 again in a more solid + way. + Tue Apr 22 13:58:43 CEST 2003 Igor Zlatkovic * win32/libxml2.def.src: added more exports from the relaxng and diff --git a/HTMLparser.c b/HTMLparser.c index 572a7501..f46cd661 100644 --- a/HTMLparser.c +++ b/HTMLparser.c @@ -4493,6 +4493,12 @@ htmlParseTryOrFinish(htmlParserCtxtPtr ctxt, int terminate) { } if (avail < 1) goto done; + cur = in->cur[0]; + if (cur == 0) { + SKIP(1); + continue; + } + switch (ctxt->instate) { case XML_PARSER_EOF: /*