mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-28 00:21:53 +03:00
* HTMLparser.c: make sure we keep line numbers fixes #580705
based Aaron Patterson patch Daniel
This commit is contained in:
@ -4134,6 +4134,7 @@ htmlParseDocument(htmlParserCtxtPtr ctxt) {
|
||||
return(XML_ERR_INTERNAL_ERROR);
|
||||
}
|
||||
ctxt->html = 1;
|
||||
ctxt->linenumbers = 1;
|
||||
GROW;
|
||||
/*
|
||||
* SAX: beginning of the document processing.
|
||||
|
Reference in New Issue
Block a user