From b0bab86aebbb9cdf0935c9cb78244f6674c3a2da Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 26 Oct 2009 14:03:58 +0000 Subject: theme_adium_parse_body: escape all the text if smileys are disabled (#599640) --- libempathy-gtk/empathy-theme-adium.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3