aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-10-26 20:58:11 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-26 20:58:11 +0800
commitb89e72122e3f27f1341a3536f464d0e5c0acde99 (patch)
tree87cdec5d34d8d35c8cb521908f63595eb2ccb0f4
parentb354b0dfc20be06b15f32866be119beb4e93e027 (diff)
downloadgsoc2013-empathy-b89e72122e3f27f1341a3536f464d0e5c0acde99.tar
gsoc2013-empathy-b89e72122e3f27f1341a3536f464d0e5c0acde99.tar.gz
gsoc2013-empathy-b89e72122e3f27f1341a3536f464d0e5c0acde99.tar.bz2
gsoc2013-empathy-b89e72122e3f27f1341a3536f464d0e5c0acde99.tar.lz
gsoc2013-empathy-b89e72122e3f27f1341a3536f464d0e5c0acde99.tar.xz
gsoc2013-empathy-b89e72122e3f27f1341a3536f464d0e5c0acde99.tar.zst
gsoc2013-empathy-b89e72122e3f27f1341a3536f464d0e5c0acde99.zip
theme_adium_append_event: escape text
-rw-r--r--libempathy-gtk/empathy-theme-adium.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c
index a860754c9..94b172793 100644
--- a/libempathy-gtk/empathy-theme-adium.c
+++ b/libempathy-gtk/empathy-theme-adium.c
@@ -725,11 +725,15 @@ theme_adium_append_event (EmpathyChatView *view,
EmpathyThemeAdiumPriv *priv = GET_PRIV (theme);
if (priv->data->status_html) {
+ gchar *str_escaped;
+
+ str_escaped = g_markup_escape_text (str, -1);
theme_adium_append_html (theme, "appendMessage",
priv->data->status_html,
priv->data->status_len,
- str, NULL, NULL, NULL, NULL, "event",
- empathy_time_get_current ());
+ str_escaped, NULL, NULL, NULL, NULL,
+ "event", empathy_time_get_current ());
+ g_free (str_escaped);
}
/* There is no last contact */