1
0
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:
Nick Wellnhofer
2017-06-12 19:10:04 +02:00
parent 85c112a082
commit 0b2d5c48e3
29 changed files with 137 additions and 136 deletions

View File

@@ -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;