aboutsummaryrefslogtreecommitdiff
path: root/views/default/output/longtext.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/output/longtext.php')
-rw-r--r--views/default/output/longtext.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/output/longtext.php b/views/default/output/longtext.php
index ffdfd87cc..589100c4f 100644
--- a/views/default/output/longtext.php
+++ b/views/default/output/longtext.php
@@ -25,13 +25,13 @@ unset($vars['parse_urls']);
$text = $vars['value'];
unset($vars['value']);
-$text = filter_tags($text);
-
if ($parse_urls) {
$text = parse_urls($text);
}
-$text = autop($text);
+$text = filter_tags($text);
+
+$text = elgg_autop($text);
$attributes = elgg_format_attributes($vars);