Mercurial > pidgin
changeset 19305:f0b25c6fa806
Fix #2607. (Finch tooltip HTML display)
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 17 Aug 2007 18:26:10 +0000 |
parents | 9e9f3442764c |
children | 5e3afcc79ce9 |
files | finch/gntblist.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntblist.c Fri Aug 17 14:25:59 2007 +0000 +++ b/finch/gntblist.c Fri Aug 17 18:26:10 2007 +0000 @@ -1292,8 +1292,11 @@ account = purple_buddy_get_account(buddy); presence = purple_buddy_get_presence(buddy); - if (!full || g_utf8_collate(purple_buddy_get_name(buddy), alias)) - purple_notify_user_info_add_pair(user_info, _("Nickname"), alias); + if (!full || g_utf8_collate(purple_buddy_get_name(buddy), alias)) { + char *esc = g_markup_escape_text(alias, -1); + purple_notify_user_info_add_pair(user_info, _("Nickname"), esc); + g_free(esc); + } tmp = g_strdup_printf("%s (%s)", purple_account_get_username(account),