From 8ad2930f623f0cc3af2d006a734b4e31d3f6b963 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Thu, 28 Oct 2010 11:51:22 +0200 Subject: [PATCH] make sure htmlCtxtReset do reset the disableSAX field As pointed out by Stefan Behnel --- HTMLparser.c | 1 + 1 file changed, 1 insertion(+) diff --git a/HTMLparser.c b/HTMLparser.c index d51abe32..04bfbd4e 100644 --- a/HTMLparser.c +++ b/HTMLparser.c @@ -6451,6 +6451,7 @@ htmlCtxtReset(htmlParserCtxtPtr ctxt) ctxt->wellFormed = 1; ctxt->nsWellFormed = 1; + ctxt->disableSAX = 0; ctxt->valid = 1; ctxt->vctxt.userData = ctxt; ctxt->vctxt.error = xmlParserValidityError;