MCPcopy Create free account
hub / github.com/NanoMichael/MicroTeX / PushText

Method PushText

src/xml/tinyxml2.cpp:2028–2039  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2026
2027
2028void XMLPrinter::PushText( const char* text, bool cdata ) {
2029 _textDepth = _depth-1;
2030
2031 SealElementIfJustOpened();
2032 if ( cdata ) {
2033 Print( "<![CDATA[" );
2034 Print( "%s", text );
2035 Print( "]]>" );
2036 } else {
2037 PrintString( text, true );
2038 }
2039}
2040
2041void XMLPrinter::PushText( int value ) {
2042 char buf[BUF_SIZE];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected