mirror of
https://github.com/AxioDL/tinyxml2.git
synced 2025-05-14 19:31:23 +00:00
Merge Print() calls
This commit is contained in:
parent
28c7c8c14f
commit
6a79c17c87
@ -2203,9 +2203,7 @@ void XMLPrinter::PushText( const char* text, bool cdata )
|
|||||||
|
|
||||||
SealElementIfJustOpened();
|
SealElementIfJustOpened();
|
||||||
if ( cdata ) {
|
if ( cdata ) {
|
||||||
Print( "<![CDATA[" );
|
Print( "<![CDATA[%s]]>", text );
|
||||||
Print( "%s", text );
|
|
||||||
Print( "]]>" );
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
PrintString( text, true );
|
PrintString( text, true );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user