aboutsummaryrefslogtreecommitdiff
path: root/views/default/output
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-10-30 13:08:20 -0400
committerCash Costello <cash.costello@gmail.com>2011-10-30 13:08:20 -0400
commitedec092e1aa616561063214a66620f9b6852875d (patch)
tree1d4431502696cc317079fa8f85d334fb9bdca817 /views/default/output
parent56046b11a6ad51c69b72ffffe5d95ce206e64931 (diff)
downloadelgg-edec092e1aa616561063214a66620f9b6852875d.tar.gz
elgg-edec092e1aa616561063214a66620f9b6852875d.tar.bz2
Fixes #3370 running the anti-spam option of htmlawed when filtering for output
Diffstat (limited to 'views/default/output')
-rw-r--r--views/default/output/longtext.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/output/longtext.php b/views/default/output/longtext.php
index ffdfd87cc..200f27de5 100644
--- a/views/default/output/longtext.php
+++ b/views/default/output/longtext.php
@@ -25,12 +25,12 @@ unset($vars['parse_urls']);
$text = $vars['value'];
unset($vars['value']);
-$text = filter_tags($text);
-
if ($parse_urls) {
$text = parse_urls($text);
}
+$text = filter_tags($text);
+
$text = autop($text);
$attributes = elgg_format_attributes($vars);