fix issue#712

This commit is contained in:
Alanscut
2019-09-21 15:51:14 +08:00
parent ff61650517
commit ad7bdf9ed2

View File

@@ -2635,8 +2635,6 @@ void XMLPrinter::OpenElement( const char* name, bool compactMode )
if ( _textDepth < 0 && !_firstElement && !compactMode ) { if ( _textDepth < 0 && !_firstElement && !compactMode ) {
Putc( '\n' ); Putc( '\n' );
}
if ( !compactMode ) {
PrintSpace( _depth ); PrintSpace( _depth );
} }