Commit 751c9ec6 authored by Daniel Veillard's avatar Daniel Veillard
Browse files

applied patch from Lucas Brasilino fixing an indent problem. Daniel

* xmlwriter.c: applied patch from Lucas Brasilino fixing an indent
  problem.
Daniel
parent 35df6d40
Mon Jan 5 14:03:59 CET 2004 Daniel Veillard <daniel@veillard.com>
* xmlwriter.c: applied patch from Lucas Brasilino fixing an indent
problem.
Sun Jan 4 18:54:29 MST 2004 John Fleck <jfleck@inkstain.net>
 
* doc/newapi.xsl: change background color of function
......
......@@ -1224,6 +1224,9 @@ xmlTextWriterWriteString(xmlTextWriterPtr writer, const xmlChar * content)
break;
}
if (writer->indent)
writer->doindent = 0;
if (buf != 0) {
count =
xmlOutputBufferWriteString(writer->out, (const char *) buf);
......@@ -1980,7 +1983,6 @@ xmlTextWriterWriteElement(xmlTextWriterPtr writer, const xmlChar * name,
if (count == -1)
return -1;
sum += count;
writer->doindent = 0;
count = xmlTextWriterEndElement(writer);
if (count == -1)
return -1;
......
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