mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
fix one problem found in htmlCtxtUseOptions() and pointed in #340591
* HTMLparser.c: fix one problem found in htmlCtxtUseOptions() and pointed in #340591 Daniel
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Tue Oct 17 22:19:02 CEST 2006 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
|
* HTMLparser.c: fix one problem found in htmlCtxtUseOptions()
|
||||||
|
and pointed in #340591
|
||||||
|
|
||||||
Tue Oct 17 22:04:31 CEST 2006 Daniel Veillard <daniel@veillard.com>
|
Tue Oct 17 22:04:31 CEST 2006 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* HTMLparser.c: fixed teh 2 stupid bugs affecting htmlReadDoc() and
|
* HTMLparser.c: fixed teh 2 stupid bugs affecting htmlReadDoc() and
|
||||||
|
@ -5864,6 +5864,7 @@ htmlCtxtUseOptions(htmlParserCtxtPtr ctxt, int options)
|
|||||||
ctxt->keepBlanks = 1;
|
ctxt->keepBlanks = 1;
|
||||||
if (options & HTML_PARSE_RECOVER) {
|
if (options & HTML_PARSE_RECOVER) {
|
||||||
ctxt->recovery = 1;
|
ctxt->recovery = 1;
|
||||||
|
options -= HTML_PARSE_RECOVER;
|
||||||
} else
|
} else
|
||||||
ctxt->recovery = 0;
|
ctxt->recovery = 0;
|
||||||
if (options & HTML_PARSE_COMPACT) {
|
if (options & HTML_PARSE_COMPACT) {
|
||||||
|
Reference in New Issue
Block a user