escape for pango markup contact's name

This commit is contained in:
Yann Leboulanger 2005-12-01 19:04:27 +00:00
parent 80b40b77ec
commit 2265a42269
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ class RosterWindow:
return
contact_instances = gajim.get_contact_instances_from_jid(account, jid)
contact = gajim.get_highest_prio_contact_from_contacts(contact_instances)
name = contact.name
name = gtkgui_helpers.escape_for_pango_markup(contact.name)
if len(contact_instances) > 1:
name += ' (' + unicode(len(contact_instances)) + ')'