Merge pull request #811 from hyperair/fix-first-line-indentation

XMLPrinter: Fix first line indentation
This commit is contained in:
Lee Thomason
2020-06-13 17:38:20 -07:00
committed by GitHub
2 changed files with 24 additions and 23 deletions

View File

@@ -2337,6 +2337,11 @@ protected:
DynArray< const char*, 10 > _stack;
private:
/**
Prepares to write a new node. This includes sealing an element that was
just opened, and writing any whitespace necessary if not in compact mode.
*/
void PrepareForNewNode( bool compactMode );
void PrintString( const char*, bool restrictedEntitySet ); // prints out, after detecting entities.
bool _firstElement;