aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-26 22:03:58 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-26 22:56:32 +0800
commitb0bab86aebbb9cdf0935c9cb78244f6674c3a2da (patch)
tree15ca51514317f44d99d42d5bfd7d7bc39f39b6dc
parentd5a8dbc1f792a965b4a4ec42ffab464465340293 (diff)
downloadgsoc2013-empathy-b0bab86aebbb9cdf0935c9cb78244f6674c3a2da.tar
gsoc2013-empathy-b0bab86aebbb9cdf0935c9cb78244f6674c3a2da.tar.gz
gsoc2013-empathy-b0bab86aebbb9cdf0935c9cb78244f6674c3a2da.tar.bz2
gsoc2013-empathy-b0bab86aebbb9cdf0935c9cb78244f6674c3a2da.tar.lz
gsoc2013-empathy-b0bab86aebbb9cdf0935c9cb78244f6674c3a2da.tar.xz
gsoc2013-empathy-b0bab86aebbb9cdf0935c9cb78244f6674c3a2da.tar.zst
gsoc2013-empathy-b0bab86aebbb9cdf0935c9cb78244f6674c3a2da.zip
theme_adium_parse_body: escape all the text if smileys are disabled (#599640)
-rw-r--r--libempathy-gtk/empathy-theme-adium.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c
index 23e985a96..1fc828fce 100644
--- a/libempathy-gtk/empathy-theme-adium.c
+++ b/libempathy-gtk/empathy-theme-adium.c
@@ -274,6 +274,8 @@ theme_adium_parse_body (EmpathyThemeAdium *theme,
g_free (ret);
text = ret = g_string_free (string, FALSE);
+ } else {
+ text = ret = g_markup_escape_text (text, -1);
}
g_match_info_free (match_info);