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