Merge pull request #2731 from annando/1608-notifications-format

HTML entities in notifications aren't a problem anymore
This commit is contained in:
Tobias Diekershoff 2016-08-11 21:08:07 +02:00 committed by GitHub
commit 9988a5b7c4

View file

@ -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'],
));