]> git.mxchange.org Git - friendica.git/commitdiff
HTML entities in Notifications aren't a problem anymore
authorMichael Vogel <icarus@dabo.de>
Thu, 11 Aug 2016 17:59:07 +0000 (19:59 +0200)
committerMichael Vogel <icarus@dabo.de>
Thu, 11 Aug 2016 17:59:07 +0000 (19:59 +0200)
mod/notifications.php

index d43e2cc04f95a68aab760207fa4242b9f7a55203..af44097c1cb42a508c3267665d37b8fd2de8c52e 100644 (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'],
                        ));