1357: Incorrect marriage event description when outputting to PDF (only ampersand, < > ?)

svn: r11750
This commit is contained in:
Jérôme Rapinat 2009-01-28 08:59:58 +00:00
parent 8123f5e692
commit bc7aab8cbb

View File

@ -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('&','&amp;')
# FIXME this is ugly, do we really need it?
text = text.replace('<super>', '<small><sup>')
text = text.replace('</super>', '</sup></small>')