* src/DataViews/_PedigreeView.py: Escape XML special chars

svn: r7790
This commit is contained in:
Martin Hawlisch 2006-12-12 12:57:21 +00:00
parent 5bf3bd957b
commit 56552b2e4a

View File

@ -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: