Fix XML export when 'Group-as" name contains XML invalid chars
Fixes #11834
This commit is contained in:
parent
62d5a136a4
commit
13d83919b9
@ -376,7 +376,7 @@ class GrampsXmlWriter(UpdateCallback):
|
||||
for key in group_map:
|
||||
value = self.db.get_name_group_mapping(key)
|
||||
self.g.write(' <map type="group_as" key="%s" value="%s"/>\n'
|
||||
% (self.fix(key), value))
|
||||
% (self.fix(key), self.fix(value)))
|
||||
self.g.write(" </namemaps>\n")
|
||||
|
||||
def write_bookmarks(self):
|
||||
|
Loading…
Reference in New Issue
Block a user