escape notification popup text...always
authorMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 18 Feb 2015 21:50:26 +0000 (16:50 -0500)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 18 Feb 2015 21:52:54 +0000 (16:52 -0500)
fix T2053

src/modules/notification/e_mod_popup.c

index 21684bb584c164f5bd624592e729d9640b2bc2c5..182b90ef4a7b6ab35654415f5f26d5fc8301f8f2 100644 (file)
@@ -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);
 }