mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-16 07:21:58 +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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user