mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-24 13:33:01 +03:00
Initialize keepBlanks in HTML parser
This caused failures in the HTML push tests but the fix required to change the expected output of the HTML SAX tests.
This commit is contained in:
@@ -4945,6 +4945,7 @@ htmlInitParserCtxt(htmlParserCtxtPtr ctxt)
|
||||
ctxt->wellFormed = 1;
|
||||
ctxt->replaceEntities = 0;
|
||||
ctxt->linenumbers = xmlLineNumbersDefaultValue;
|
||||
ctxt->keepBlanks = xmlKeepBlanksDefaultValue;
|
||||
ctxt->html = 1;
|
||||
ctxt->vctxt.finishDtd = XML_CTXT_FINISH_DTD_0;
|
||||
ctxt->vctxt.userData = ctxt;
|
||||
|
||||
Reference in New Issue
Block a user