aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2009-05-15 17:55:45 +0200
committerDaniel Veillard <veillard@redhat.com>2009-05-15 17:55:45 +0200
commit4d3e2da7f862d37e0f9adbd476531f43e02f495d (patch)
treebe51f9a025883b2376a5dc035abde2e8dde9325c
parent04f8eef8520821ac726833687faee278cdb26c4a (diff)
downloadandroid_external_libxml2-4d3e2da7f862d37e0f9adbd476531f43e02f495d.tar.gz
android_external_libxml2-4d3e2da7f862d37e0f9adbd476531f43e02f495d.tar.bz2
android_external_libxml2-4d3e2da7f862d37e0f9adbd476531f43e02f495d.zip
* HTMLparser.c: make sure we keep line numbers fixes #580705
based Aaron Patterson patch Daniel
-rw-r--r--ChangeLog7
-rw-r--r--HTMLparser.c1
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 549e5760..ed6fc5d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
diff --git a/HTMLparser.c b/HTMLparser.c
index 4d0fe27e..5e44d7ad 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -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.