1357: Incorrect marriage event description when outputting to PDF (only ampersand, < > ?)
svn: r11751
This commit is contained in:
parent
b0e3ed517a
commit
4574406d32
@ -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('<super>', '<small><sup>')
|
||||
text = text.replace('</super>', '</sup></small>')
|
||||
|
Loading…
Reference in New Issue
Block a user