aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2012-02-09 01:48:07 +0800
committerWill Thompson <will.thompson@collabora.co.uk>2012-02-10 19:14:30 +0800
commit91d37340b5b2495cf8eed1f53482aa4e046964ae (patch)
tree45dff629c5b9113c83cd4c2994a5ff71c8368b3b
parentcb1bb584bccd7138fa1b5c27c254d01ca21c472c (diff)
downloadgsoc2013-empathy-91d37340b5b2495cf8eed1f53482aa4e046964ae.tar
gsoc2013-empathy-91d37340b5b2495cf8eed1f53482aa4e046964ae.tar.gz
gsoc2013-empathy-91d37340b5b2495cf8eed1f53482aa4e046964ae.tar.bz2
gsoc2013-empathy-91d37340b5b2495cf8eed1f53482aa4e046964ae.tar.lz
gsoc2013-empathy-91d37340b5b2495cf8eed1f53482aa4e046964ae.tar.xz
gsoc2013-empathy-91d37340b5b2495cf8eed1f53482aa4e046964ae.tar.zst
gsoc2013-empathy-91d37340b5b2495cf8eed1f53482aa4e046964ae.zip
ContactInfo: always escape IRC channel names in markup
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
-rw-r--r--libempathy-gtk/empathy-contactinfo-utils.c2
1 files changed, 1 insertions, 1 deletions
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, "<a href='%s'>%s</a>",
- escaped, channel_name);
+ escaped, escaped);
g_free (escaped);
}