From 4c8c7d2a54a48e40efff54961f166ffb3f2dd431 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sat, 4 May 2002 14:06:04 +0000 Subject: [PATCH] Escape the '#' mark svn: r958 --- gramps/src/docgen/LaTeXDoc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gramps/src/docgen/LaTeXDoc.py b/gramps/src/docgen/LaTeXDoc.py index 688cee3d7..b810a37e1 100644 --- a/gramps/src/docgen/LaTeXDoc.py +++ b/gramps/src/docgen/LaTeXDoc.py @@ -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)