summaryrefslogtreecommitdiff
path: root/liszt/contact-view.c
diff options
context:
space:
mode:
authorAlban Crequy <alban.crequy@collabora.co.uk>2010-12-15 16:29:48 +0000
committerAlban Crequy <alban.crequy@collabora.co.uk>2010-12-15 16:29:48 +0000
commit0d27ccb1c72fe414551d7c707f287cef822fe6b4 (patch)
tree478e1677b511cff4c6a5c11254cf3118386faee3 /liszt/contact-view.c
parenta4bf9a9400b1f644c23f8626cb46e64a3bd0b047 (diff)
Escape text correctly
Diffstat (limited to 'liszt/contact-view.c')
-rw-r--r--liszt/contact-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/liszt/contact-view.c b/liszt/contact-view.c
index c42cfc00e..cbb555253 100644
--- a/liszt/contact-view.c
+++ b/liszt/contact-view.c
@@ -108,7 +108,7 @@ lol_contact_view_set_markup (LolContactView *self,
if (EMP_STR_EMPTY (status))
status = empathy_presence_get_default_message (tmp);
- markup = g_strdup_printf ("%s - %s\n<span size=\"x-small\">%s</span>",
+ markup = g_markup_printf_escaped ("%s - %s\n<span size=\"x-small\">%s</span>",
text, first_url, status);
clutter_text_set_markup (CLUTTER_TEXT (priv->name_text), markup);
g_free (markup);