1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +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

@ -1,7 +1,12 @@
Fri May 15 17:54:48 CEST 2009 Daniel Veillard <daniel@veillard.com>
* HTMLparser.c: make sure we keep line numbers fixes #580705
based Aaron Patterson patch
Tue May 12 09:13:58 CEST 2009 Daniel Veillard <daniel@veillard.com>
* HTMLparser.c: a broken HTML table attributes initialization,
by Roland Steiner <rolandsteiner@google.com>
fixes #581803, by Roland Steiner <rolandsteiner@google.com>
Tue May 12 08:54:20 CEST 2009 Daniel Veillard <daniel@veillard.com>

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.