From 582fe8d972eb498ff06ce4c903d5c8a54c938d2c Mon Sep 17 00:00:00 2001 From: Jean-Marie Traissard Date: Sun, 25 Jun 2006 20:01:40 +0000 Subject: [PATCH] Escape html in gc_popups nicks --- src/tooltips.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/tooltips.py b/src/tooltips.py index c72160e69..6b95561f3 100644 --- a/src/tooltips.py +++ b/src/tooltips.py @@ -388,8 +388,9 @@ class GCTooltip(BaseTooltip): if contact.jid.strip() != '': jid_markup = '' + contact.jid + '' else: - jid_markup = '' + contact.get_shown_name() + \ - '' + jid_markup = '' + \ + gtkgui_helpers.escape_for_pango_markup(contact.get_shown_name()) \ + + '' properties.append((jid_markup, None)) properties.append((_('Role: '), helpers.get_uf_role(contact.role))) properties.append((_('Affiliation: '), contact.affiliation.capitalize()))