Anonymous - 2004-03-26

I suggest to change three lines for addition of blanks before and after the comment:

(in TiXmlComment::Print)
before change:
   fprintf( cfile, "<!--%s-->", value.c_str() );
after change:
   fprintf( cfile, "<!-- %s -->", value.c_str() );

(in TiXmlComment::StreamOut)
before change:
   (*stream) << "<!--";
   (*stream) << "-->";
after change:
   (*stream) << "<!-- ";
   (*stream) << " -->";

i.e. <!-- Comment -->
instead of <!--Comment-->