Merge Print() calls

This commit is contained in:
Dmitry-Me 2015-03-31 12:18:17 +03:00
parent 28c7c8c14f
commit 6a79c17c87
1 changed files with 1 additions and 3 deletions

View File

@ -2203,9 +2203,7 @@ void XMLPrinter::PushText( const char* text, bool cdata )
SealElementIfJustOpened();
if ( cdata ) {
Print( "<![CDATA[" );
Print( "%s", text );
Print( "]]>" );
Print( "<![CDATA[%s]]>", text );
}
else {
PrintString( text, true );