changeset 19313:5e3afcc79ce9

merge of '49ec8ed66e26dabaa78aed7b0d4d9540ea3b8c44' and '6d1bdf080fca36b032072edb7ffa550b159b9716'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 17 Aug 2007 18:31:06 +0000
parents f0b25c6fa806 (diff) 16cad7ba399c (current diff)
children 6a7f4242fabf
files
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/finch/gntblist.c	Fri Aug 17 18:09:54 2007 +0000
+++ b/finch/gntblist.c	Fri Aug 17 18:31:06 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),