[empathy] theme_adium_parse_body: escape all the text if smileys are disabled (#599640)
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] theme_adium_parse_body: escape all the text if smileys are disabled (#599640)
- Date: Mon, 26 Oct 2009 14:56:51 +0000 (UTC)
commit b0bab86aebbb9cdf0935c9cb78244f6674c3a2da
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 23e985a..1fc828f 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]