From 4574406d32860c00e4d7a08a1f946a3d01b4e260 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Wed, 28 Jan 2009 09:01:39 +0000 Subject: [PATCH] 1357: Incorrect marriage event description when outputting to PDF (only ampersand, < > ?) svn: r11751 --- src/plugins/docgen/CairoDoc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/docgen/CairoDoc.py b/src/plugins/docgen/CairoDoc.py index 17c1ad2ad..4bfe8fd80 100644 --- a/src/plugins/docgen/CairoDoc.py +++ b/src/plugins/docgen/CairoDoc.py @@ -1156,6 +1156,7 @@ class CairoDoc(BaseDoc.BaseDoc, BaseDoc.TextDoc, BaseDoc.DrawDoc): self.end_paragraph() def write_text(self, text, mark=None): + text = text.replace('&','&') # FIXME this is ugly, do we really need it? text = text.replace('', '') text = text.replace('', '')