python wml parser: Fixed strange bug

This commit is contained in:
Elias Pschernig 2008-05-05 16:27:43 +00:00
parent 8da75c5dfb
commit b75e8cd0ed

View file

@ -103,6 +103,7 @@ class Parser:
u = text.decode("latin1")
text = u
text = text.replace("\r\n", "\n").replace("\t", " ")
if text[-1] != "\n": text += "\n"
return text
def set_macro_not_found_callback(self, callback):