* 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 964c65b895
commit a8f4ed6b20

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: