aboutsummaryrefslogtreecommitdiff
path: root/views/default/output/longtext.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-10 18:36:31 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-10 18:36:31 +0000
commit2dafe0c1880b922d75a288f371fa976066589fd7 (patch)
treedb0704ce5abbb65812c56745532b12358bcd0264 /views/default/output/longtext.php
parent5788ca8fea363eb5b5298a46b7f087ff3bec953d (diff)
downloadelgg-2dafe0c1880b922d75a288f371fa976066589fd7.tar.gz
elgg-2dafe0c1880b922d75a288f371fa976066589fd7.tar.bz2
Closes #756: htmlentities on all output forms
git-svn-id: https://code.elgg.org/elgg/trunk@2711 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/output/longtext.php')
-rw-r--r--views/default/output/longtext.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/default/output/longtext.php b/views/default/output/longtext.php
index a240e3267..b35234350 100644
--- a/views/default/output/longtext.php
+++ b/views/default/output/longtext.php
@@ -15,5 +15,7 @@
*
*/
- echo autop($vars['value']);
+ global $CONFIG;
+
+ echo autop(filter_tags($vars['value'], $CONFIG->allowedtags, $CONFIG->allowedprotocols));
?> \ No newline at end of file