From 1c31526d6e14156a7fda6dde977b7d8e29ddcbc8 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 11 Aug 2016 19:59:07 +0200 Subject: [PATCH] HTML entities in Notifications aren't a problem anymore --- mod/notifications.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/notifications.php b/mod/notifications.php index d43e2cc04f..af44097c1c 100644 --- a/mod/notifications.php +++ b/mod/notifications.php @@ -285,7 +285,7 @@ function notifications_content(&$a) { '$item_label' => $it['label'], '$item_link' => $it['link'], '$item_image' => $it['image'], - '$item_text' => $it['text'], + '$item_text' => htmlentities($it['text']), '$item_when' => $it['when'], '$item_seen' => $it['seen'], ));