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
diff --git a/xmlwriter.c b/xmlwriter.c
index 7acae76..2d9d109 100644
--- a/xmlwriter.c
+++ b/xmlwriter.c
@@ -1256,6 +1256,11 @@
             return -1;
     }
 
+    if (writer->indent) {
+        count = xmlOutputBufferWriteString(writer->out, "\n");
+        sum += count;
+    }
+
     xmlListPopFront(writer->nodes);
     return sum;
 }