SetForceCompactMode() now also handles case of a single tag inside another correctly.
diff --git a/tinyxml2.h b/tinyxml2.h
index 09f6dd2..eae8cd4 100755
--- a/tinyxml2.h
+++ b/tinyxml2.h
@@ -1974,7 +1974,7 @@
void PushAttribute( const char* name, bool value );
void PushAttribute( const char* name, double value );
/// If streaming, close the Element.
- virtual void CloseElement();
+ virtual void CloseElement( bool compactMode );
/// Add a text node.
void PushText( const char* text, bool cdata=false );