diff --git a/gramps/plugins/docgen/odfdoc.py b/gramps/plugins/docgen/odfdoc.py index 7a0c21be8..692850e12 100644 --- a/gramps/plugins/docgen/odfdoc.py +++ b/gramps/plugins/docgen/odfdoc.py @@ -1541,7 +1541,7 @@ class ODFDoc(BaseDoc, TextDoc, DrawDoc): Insert a mark at this point in the document. """ if mark: - key = escape(mark.key, ESC_MAP) + key = escape(mark.key) key = key.replace('"', '"') if mark.type == INDEX_TYPE_ALP: self.cntnt.write(