* HTMLparser.c: make sure we keep line numbers fixes #580705
based Aaron Patterson patch
Daniel
diff --git a/ChangeLog b/ChangeLog
index 549e576..ed6fc5d 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 4d0fe27..5e44d7a 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -4134,6 +4134,7 @@
return(XML_ERR_INTERNAL_ERROR);
}
ctxt->html = 1;
+ ctxt->linenumbers = 1;
GROW;
/*
* SAX: beginning of the document processing.