summaryrefslogtreecommitdiff
path: root/modules/comment/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-07-03 18:09:02 -0700
committerBharat Mediratta <bharat@menalto.com>2009-07-03 18:09:02 -0700
commit22b2e1044fd3b7be30caba9316f41bdbed8c8a8b (patch)
treed6b571761cbdf16b84b113551a76beb32de36f0d /modules/comment/views
parent715d714ade637b6292bab378c4d7deb332542477 (diff)
parentfcb031c2b60ac9e1888592296cba25791e77b446 (diff)
Merge branch 'master' of git@github.com:/gallery/gallery3
Diffstat (limited to 'modules/comment/views')
-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 ?>