libxml2 r3668 - trunk
- From: veillard svn gnome org
- To: svn-commits-list gnome org
- Subject: libxml2 r3668 - trunk
- Date: Wed, 9 Jan 2008 02:19:50 +0000 (GMT)
Author: veillard
Date: Wed Jan 9 02:19:50 2008
New Revision: 3668
URL: http://svn.gnome.org/viewvc/libxml2?rev=3668&view=rev
Log:
* xmlwriter.c: fix indentation in xmlTextWriterFullEndElement,
as raised by Felipe Pena, should fix #508156
Daniel
Modified:
trunk/ChangeLog
trunk/xmlwriter.c
Modified: trunk/xmlwriter.c
==============================================================================
--- trunk/xmlwriter.c (original)
+++ trunk/xmlwriter.c Wed Jan 9 02:19:50 2008
@@ -1256,6 +1256,11 @@
return -1;
}
+ if (writer->indent) {
+ count = xmlOutputBufferWriteString(writer->out, "\n");
+ sum += count;
+ }
+
xmlListPopFront(writer->nodes);
return sum;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]