+
+ /* 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 *buf = eina_strbuf_new();
+ eina_strbuf_append(buf, b);
+ eina_strbuf_replace_all(buf, "\n", "<br/>");
+ edje_object_part_text_set(o, "notification.textblock.message",
+ eina_strbuf_string_get(buf));
+ eina_strbuf_free(buf);
+ }