diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2015-02-18 16:50:26 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2015-02-18 16:52:54 -0500 |
commit | 3e517158a2f8d25797fc5811bff2b803501f33e4 (patch) | |
tree | b3e6aca3997cd2784e32bfa4f99c357b1db13f33 | |
parent | baa9cfeac18677047167ddb7f8024a8fbb3ab12b (diff) | |
download | enlightenment-3e517158a2f8d25797fc5811bff2b803501f33e4.tar.gz |
escape notification popup text...always
fix T2053
-rw-r--r-- | src/modules/notification/e_mod_popup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/notification/e_mod_popup.c b/src/modules/notification/e_mod_popup.c index 21684bb584..182b90ef4a 100644 --- a/src/modules/notification/e_mod_popup.c +++ b/src/modules/notification/e_mod_popup.c @@ -587,14 +587,14 @@ _notification_format_message(Popup_Data *popup) { Evas_Object *o = popup->theme; Eina_Strbuf *buf = eina_strbuf_new(); - edje_object_part_text_set(o, "notification.text.title", + edje_object_part_text_unescaped_set(o, "notification.text.title", popup->notif->summary); /* FIXME: Filter to only include allowed markup? */ /* We need to replace \n with <br>. FIXME: We need to handle all the * newline kinds, and paragraph separator. ATM this will suffice. */ eina_strbuf_append(buf, popup->notif->body); eina_strbuf_replace_all(buf, "\n", "<br/>"); - edje_object_part_text_set(o, "notification.textblock.message", + edje_object_part_text_unescaped_set(o, "notification.textblock.message", eina_strbuf_string_get(buf)); eina_strbuf_free(buf); } |