1
0
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:
Daniel Veillard
2009-05-15 17:55:45 +02:00
parent 04f8eef852
commit 4d3e2da7f8
2 changed files with 7 additions and 1 deletions

View File

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