[empathy/gnome-2-28] theme_adium_parse_body: escape all the text if smileys are disabled (#599640)



commit 8ee73a8dd92a52c9a214fc6a62702638f1b0b84f
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Oct 26 14:03:58 2009 +0000

    theme_adium_parse_body: escape all the text if smileys are disabled (#599640)

 libempathy-gtk/empathy-theme-adium.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c
index 94b1727..d420fb7 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]