1
0
mirror of https://github.com/leethomason/tinyxml2.git synced 2026-07-29 07:03:00 +04:00

SetForceCompactMode() now also handles case of a single tag inside another correctly.

This commit is contained in:
Uli Kusterer
2014-02-01 13:35:05 +01:00
parent 15354f88c3
commit ca412e87f2
3 changed files with 21 additions and 6 deletions
+1 -1
View File
@@ -1974,7 +1974,7 @@ public:
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 );