diff -Nru pet-0.99.13.orig/cheap/xml-tokenizer.cpp pet-0.99.13/cheap/xml-tokenizer.cpp --- pet-0.99.13.orig/cheap/xml-tokenizer.cpp 2007-02-15 17:42:51.000000000 +0900 +++ pet-0.99.13/cheap/xml-tokenizer.cpp 2007-02-15 18:42:00.000000000 +0900 @@ -27,12 +27,23 @@ if (input.compare(0, 2, ", 2007/2/15 + int it = input.find_last_not_of('\n'); + if (it != string::npos) { + input.erase(it + 1); + } tokenize_from_file(input, result); } }