From c3206121dfb4fa6f0c261dba154169d71cc46100 Mon Sep 17 00:00:00 2001 From: prculley Date: Mon, 9 Sep 2019 10:34:12 -0500 Subject: [PATCH] Fix odt output when db owner has XML unfriendly chars ('&') Fixes #11327 --- gramps/plugins/docgen/odfdoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/docgen/odfdoc.py b/gramps/plugins/docgen/odfdoc.py index 40abc7ab5..7a0c21be8 100644 --- a/gramps/plugins/docgen/odfdoc.py +++ b/gramps/plugins/docgen/odfdoc.py @@ -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