tinyxml2 icon indicating copy to clipboard operation
tinyxml2 copied to clipboard

XML formating improvement

Open Dmitry-Frantsev opened this issue 8 years ago • 0 comments

Hi. Please add a space before closing bracket.

void XMLPrinter::CloseElement( bool compactMode )
{
    --_depth;
    const char* name = _stack.Pop();

    if ( _elementJustOpened ) {
--        Print( "/>" );
++        Print( " />" );
    }

Dmitry-Frantsev avatar Feb 03 '17 05:02 Dmitry-Frantsev