mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-21 14:53:44 +03:00
fixed to not send NULL to %s printing cleaning up some of the regression
* HTMLparser.c: fixed to not send NULL to %s printing * python/tests/error.py result/HTML/doc3.htm.err result/HTML/test3.html.err result/HTML/wired.html.err result/valid/t8.xml.err result/valid/t8a.xml.err: cleaning up some of the regression tests error Daniel
This commit is contained in:
@@ -1132,7 +1132,7 @@ htmlAutoCloseOnClose(htmlParserCtxtPtr ctxt, const xmlChar * newtag)
|
||||
if ((info != NULL) && (info->endTag == 3)) {
|
||||
htmlParseErr(ctxt, XML_ERR_TAG_NAME_MISMATCH,
|
||||
"Opening and ending tag mismatch: %s and %s\n",
|
||||
NULL, NULL);
|
||||
newtag, ctxt->name);
|
||||
}
|
||||
if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL))
|
||||
ctxt->sax->endElement(ctxt->userData, ctxt->name);
|
||||
|
Reference in New Issue
Block a user