Escape the '#' mark

svn: r958
This commit is contained in:
Don Allingham 2002-05-04 14:06:04 +00:00
parent 344dff306f
commit a48503a105

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)