diff --git a/ChangeLog b/ChangeLog index 6071ca71c..6b09842b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-06 Benny Malengier + Raphael Ackermann + * src/docgen/LaTeXDoc.py: wrong indent on write, bug #1506 + 2008-01-06 Brian Matherly Raphael Ackermann James Friedmann diff --git a/src/docgen/LaTeXDoc.py b/src/docgen/LaTeXDoc.py index 56baa9df1..bc666a6ef 100644 --- a/src/docgen/LaTeXDoc.py +++ b/src/docgen/LaTeXDoc.py @@ -500,12 +500,12 @@ class LaTeXDoc(BaseDoc.BaseDoc,BaseDoc.TextDoc): """Write the text to the file""" if text == '\n': text = '\\newline\n' - text = text.replace('#','\#') - text = text.replace('&','\&') - text = text.replace('','\\textsuperscript{') - text = text.replace('','}') - text = text.replace('_____________','\\underline{\hspace{3cm}}') - self.f.write(text) + text = text.replace('#','\#') + text = text.replace('&','\&') + text = text.replace('','\\textsuperscript{') + text = text.replace('','}') + text = text.replace('_____________','\\underline{\hspace{3cm}}') + self.f.write(text) #------------------------------------------------------------------------