From bc6e1a3857f70487df00bb141d54b30bdbbaa17f Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 18 Nov 2002 15:07:25 +0000 Subject: [PATCH] fixed bug #98879 a corner case when 0 is included in HTML documents and * HTMLparser.c: fixed bug #98879 a corner case when 0 is included in HTML documents and using the push parser. Daniel --- ChangeLog | 5 +++++ HTMLparser.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f47f5831..5fa8cec3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Nov 18 16:05:51 CET 2002 Daniel Veillard + + * HTMLparser.c: fixed bug #98879 a corner case when 0 is + included in HTML documents and using the push parser. + Mon Nov 18 00:11:24 CET 2002 ERDI Gergo * configure.in (PYTHON_SITE_PACKAGES): If --with-python is diff --git a/HTMLparser.c b/HTMLparser.c index 34f15abc..2eaf0c20 100644 --- a/HTMLparser.c +++ b/HTMLparser.c @@ -4388,7 +4388,7 @@ htmlParseTryOrFinish(htmlParserCtxtPtr ctxt, int terminate) { } ctxt->token = 0; ctxt->checkIndex = 0; - NEXT; + in->cur++; break; } }