diff --git a/tinyxml2.cpp b/tinyxml2.cpp index 22f513c..5c91843 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp @@ -2146,12 +2146,18 @@ void XMLPrinter::PrintString( const char* p, bool restricted ) Print( "%.*s", toPrint, p ); p += toPrint; } + bool entityPatternPrinted = false; for( int i=0; i