diff --git a/tinyxml2.cpp b/tinyxml2.cpp index ebf2865..567b9f0 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp @@ -2206,9 +2206,7 @@ void XMLPrinter::PushText( const char* text, bool cdata ) SealElementIfJustOpened(); if ( cdata ) { - Print( "" ); + Print( "", text ); } else { PrintString( text, true );