mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-26 10:03:34 +03:00
fix indentation in xmlTextWriterFullEndElement, as raised by Felipe Pena,
* xmlwriter.c: fix indentation in xmlTextWriterFullEndElement, as raised by Felipe Pena, should fix #508156 Daniel svn path=/trunk/; revision=3668
This commit is contained in:
parent
3108ba92b7
commit
7e26fb4b10
@ -1,3 +1,8 @@
|
||||
Wed Jan 9 10:15:50 CST 2008 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* xmlwriter.c: fix indentation in xmlTextWriterFullEndElement,
|
||||
as raised by Felipe Pena, should fix #508156
|
||||
|
||||
Tue Dec 6 11:07:42 CET 2007 Rob Richards <rrichards@ctindustries.net>
|
||||
|
||||
* pattern.c: fix crash from double free of name for bug #501760
|
||||
|
@ -1256,6 +1256,11 @@ xmlTextWriterFullEndElement(xmlTextWriterPtr writer)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (writer->indent) {
|
||||
count = xmlOutputBufferWriteString(writer->out, "\n");
|
||||
sum += count;
|
||||
}
|
||||
|
||||
xmlListPopFront(writer->nodes);
|
||||
return sum;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user