summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/comment/views/comments.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php
index 2d754791..fa25a4e0 100644
--- a/modules/comment/views/comments.html.php
+++ b/modules/comment/views/comments.html.php
@@ -21,7 +21,7 @@
"name" => p::clean($comment->author_name()))); ?>
</p>
<div>
- <?= p::purify($comment->text) ?>
+ <?= nl2br(p::purify($comment->text)) ?>
</div>
</li>
<? endforeach ?>