Escape the '#' mark
svn: r958
This commit is contained in:
parent
344dff306f
commit
a48503a105
@ -374,6 +374,7 @@ class LaTeXDoc(TextDoc):
|
|||||||
"""Write the text to the file"""
|
"""Write the text to the file"""
|
||||||
if text == '\n':
|
if text == '\n':
|
||||||
text = '\\newline\n'
|
text = '\\newline\n'
|
||||||
|
text = string.replace(text,'#','\#')
|
||||||
self.f.write(text)
|
self.f.write(text)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user