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:03:58 +0800
commit8ee73a8dd92a52c9a214fc6a62702638f1b0b84f (patch)
tree64820ca64679e99a4fb36df1554a53862c84ff66
parentb89e72122e3f27f1341a3536f464d0e5c0acde99 (diff)
downloadgsoc2013-empathy-8ee73a8dd92a52c9a214fc6a62702638f1b0b84f.tar
gsoc2013-empathy-8ee73a8dd92a52c9a214fc6a62702638f1b0b84f.tar.gz
gsoc2013-empathy-8ee73a8dd92a52c9a214fc6a62702638f1b0b84f.tar.bz2
gsoc2013-empathy-8ee73a8dd92a52c9a214fc6a62702638f1b0b84f.tar.lz
gsoc2013-empathy-8ee73a8dd92a52c9a214fc6a62702638f1b0b84f.tar.xz
gsoc2013-empathy-8ee73a8dd92a52c9a214fc6a62702638f1b0b84f.tar.zst
gsoc2013-empathy-8ee73a8dd92a52c9a214fc6a62702638f1b0b84f.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 94b172793..d420fb7d0 100644
--- a/libempathy-gtk/empathy-theme-adium.c
+++ b/libempathy-gtk/empathy-theme-adium.c
@@ -372,6 +372,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);