aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/page/elements/messages.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/views/default/page/elements/messages.php b/views/default/page/elements/messages.php
index e4e6030f1..91221e174 100644
--- a/views/default/page/elements/messages.php
+++ b/views/default/page/elements/messages.php
@@ -15,10 +15,7 @@ if (isset($vars['object']) && is_array($vars['object']) && sizeof($vars['object'
foreach ($vars['object'] as $type => $list ) {
foreach ($list as $message) {
echo "<li class=\"elgg-message elgg-state-$type\">";
- echo elgg_view('output/longtext', array(
- 'value' => $message,
- 'parse_urls' => false
- ));
+ echo autop($message);
echo '</li>';
}
}