diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index f174ea63c..db004a2a3 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -691,13 +691,14 @@ int cmCTest::UpdateDirectory() << "\t\t" << sdate1 << "\n" << "\t\t" << sauthor1 << "\n" << "\t\t" << semail1 << "\n" - << "\t\t" << comment1 << "\n" + << "\t\t" << this->MakeXMLSafe(comment1) << "\n" << "\t\t" << srevision1 << "\n" - << "\t\t" << srevision2 << "\n" - << "\t\t" << std::endl; + << "\t\t" << srevision2 << "" + << std::endl; if ( srevision2 != srevision1 ) { os + << "\t\t\n" << "\t\t\t" << srevision1 << "\n" << "\t\t\t" << srevision2 << "\n" << "\t\t\t" << sauthor1<< "\n" @@ -845,7 +846,7 @@ int cmCTest::ConfigureDirectory() } os << "" << cCommand.c_str() << "" << std::endl; //std::cout << "End" << std::endl; - os << "" << output << "" << std::endl; + os << "" << this->MakeXMLSafe(output) << "" << std::endl; std::string end_time = ::CurrentTime(); os << "\t" << retVal << "\n" << "\t" << end_time << "\n"