* src/DataViews/_PedigreeView.py: Escape XML special chars
svn: r7790
This commit is contained in:
parent
5bf3bd957b
commit
56552b2e4a
@ -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