Fix odt output when db owner has XML unfriendly chars ('&')

Fixes #11327
This commit is contained in:
prculley 2019-09-09 10:34:12 -05:00 committed by Nick Hall
parent 1e52204d94
commit c3206121df

View File

@ -1710,7 +1710,7 @@ class ODFDoc(BaseDoc, TextDoc, DrawDoc):
"""
self.meta = StringIO()
generator = PROGRAM_NAME + ' ' + VERSION
creator = self.get_creator()
creator = escape(self.get_creator(), ESC_MAP)
date = self.time
lang = self.lang
gramps_home_url = URL_HOMEPAGE