From d065e3a2894762073f21a21a76d645527fc86232 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Wed, 24 Aug 2005 12:41:42 +0000 Subject: [PATCH] use our helper func --- src/groupchat_window.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/groupchat_window.py b/src/groupchat_window.py index f77ef3926..f03e28144 100644 --- a/src/groupchat_window.py +++ b/src/groupchat_window.py @@ -201,9 +201,8 @@ class GroupchatWindow(chat.Chat): break subject = self.subjects[new_jid] - # escape chars when necessary - subject = subject.replace('&', '&') - new_jid = new_jid.replace('&', '&') + subject = gtkgui_helpers.escape_for_pango_markup(subject) + new_jid = gtkgui_helpers.escape_for_pango_markup(new_jid) name_label = self.name_labels[new_jid] name_label.set_markup('%s\n%s' % (new_jid, subject))