Escape the '#' mark

svn: r958
This commit is contained in:
Don Allingham 2002-05-04 14:06:04 +00:00
parent 14d8707ac3
commit 4c8c7d2a54

View File

@ -374,6 +374,7 @@ class LaTeXDoc(TextDoc):
"""Write the text to the file"""
if text == '\n':
text = '\\newline\n'
text = string.replace(text,'#','\#')
self.f.write(text)