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