diff --git a/ChangeLog b/ChangeLog index 49a57d8f..924e5c95 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Oct 17 22:19:02 CEST 2006 Daniel Veillard + + * HTMLparser.c: fix one problem found in htmlCtxtUseOptions() + and pointed in #340591 + Tue Oct 17 22:04:31 CEST 2006 Daniel Veillard * HTMLparser.c: fixed teh 2 stupid bugs affecting htmlReadDoc() and diff --git a/HTMLparser.c b/HTMLparser.c index aac2a78f..5e23ad72 100644 --- a/HTMLparser.c +++ b/HTMLparser.c @@ -5864,6 +5864,7 @@ htmlCtxtUseOptions(htmlParserCtxtPtr ctxt, int options) ctxt->keepBlanks = 1; if (options & HTML_PARSE_RECOVER) { ctxt->recovery = 1; + options -= HTML_PARSE_RECOVER; } else ctxt->recovery = 0; if (options & HTML_PARSE_COMPACT) {