* src/DataViews/_PedigreeView.py: Escape XML special chars
svn: r7790
This commit is contained in:
parent
964c65b895
commit
a8f4ed6b20
@ -1148,7 +1148,7 @@ class PedigreeView(PageView.PersonNavView):
|
||||
myMenu = gtk.Menu()
|
||||
for child_handle in childlist:
|
||||
child = self.dbstate.db.get_person_from_handle(child_handle)
|
||||
cname = NameDisplay.displayer.display(child)
|
||||
cname = escape(NameDisplay.displayer.display(child))
|
||||
if find_children(self.dbstate.db,child):
|
||||
label = gtk.Label('<b><i>%s</i></b>' % cname)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user