Commit 02c1f232 authored by Daniel Veillard's avatar Daniel Veillard

patch from Jason Viers for line breaks after EndPI Daniel

* xmlwriter.c: patch from Jason Viers for line breaks after EndPI
Daniel
parent 973dceb7
Thu Apr 27 10:10:58 CEST 2006 Daniel Veillard <daniel@veillard.com>
* xmlwriter.c: patch from Jason Viers for line breaks after EndPI
Tue Apr 25 22:22:58 CEST 2006 Daniel Veillard <daniel@veillard.com>
* tree.c: fix compilation without tree
......
......@@ -2442,6 +2442,13 @@ xmlTextWriterEndPI(xmlTextWriterPtr writer)
return -1;
}
if (writer->indent) {
count = xmlOutputBufferWriteString(writer->out, "\n");
if (count < 0)
return -1;
sum += count;
}
xmlListPopFront(writer->nodes);
return sum;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment