diff --git a/gramps/plugins/export/exportxml.py b/gramps/plugins/export/exportxml.py index f0db9eb6d..c91794925 100644 --- a/gramps/plugins/export/exportxml.py +++ b/gramps/plugins/export/exportxml.py @@ -439,6 +439,7 @@ class GrampsXmlWriter(UpdateCallback): self.g.write('/>\n') def fix(self, line): + l = str(line) l = l.strip().translate(strip_dict) return escxml(l)