summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-07-04 17:33:10 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-07-04 17:33:10 -0700
commit4f0b4469f936e91143f8e488b3dce4e2f00bee80 (patch)
treef5c82cc895e11cb003f80058b26845416271b7b5
parent50462edd9c72156d841991245a4ef34624f9a3c7 (diff)
Forgot this file when i was fixing #477
-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 ?>