From 91d37340b5b2495cf8eed1f53482aa4e046964ae Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Wed, 8 Feb 2012 17:48:07 +0000 Subject: ContactInfo: always escape IRC channel names in markup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For some reason, I chose to escape the channel name for the contents of the href='' attribute but not in the body of the tag. Thus, channel names like "#r&d" made Pango refuse to coƶperate. https://bugzilla.gnome.org/show_bug.cgi?id=669695 --- libempathy-gtk/empathy-contactinfo-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libempathy-gtk/empathy-contactinfo-utils.c') diff --git a/libempathy-gtk/empathy-contactinfo-utils.c b/libempathy-gtk/empathy-contactinfo-utils.c index 695d1ee3c..b995297b0 100644 --- a/libempathy-gtk/empathy-contactinfo-utils.c +++ b/libempathy-gtk/empathy-contactinfo-utils.c @@ -314,7 +314,7 @@ empathy_contact_info_create_channel_list_label (TpAccount *account, g_string_append (label_markup, ", "); g_string_append_printf (label_markup, "%s", - escaped, channel_name); + escaped, escaped); g_free (escaped); } -- cgit v1.2.3