Merge pull request #773 from Alanscut/fix_issue712

fix issue#712
This commit is contained in:
Lee Thomason
2020-03-01 16:47:19 -08:00
committed by GitHub

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 );
} }