summaryrefslogtreecommitdiff
path: root/modules/comment/views/admin_block_recent_comments.html.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-07-03 09:26:31 -0700
committerBharat Mediratta <bharat@menalto.com>2009-07-03 09:26:31 -0700
commit715d714ade637b6292bab378c4d7deb332542477 (patch)
tree5ef6af71c9ac21d557abca8f7895a85d2a20e929 /modules/comment/views/admin_block_recent_comments.html.php
parentbd1b2f414741bb9bb68c8f94a291bedd5c9925c0 (diff)
parent0f9bfbdd572c44ab6b095e18f376c6d340f5fd26 (diff)
Merge branch 'master' of git@github.com:/gallery/gallery3
Diffstat (limited to 'modules/comment/views/admin_block_recent_comments.html.php')
-rw-r--r--modules/comment/views/admin_block_recent_comments.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/views/admin_block_recent_comments.html.php b/modules/comment/views/admin_block_recent_comments.html.php
index 893c1a63..4ff24f86 100644
--- a/modules/comment/views/admin_block_recent_comments.html.php
+++ b/modules/comment/views/admin_block_recent_comments.html.php
@@ -10,7 +10,7 @@
<?= gallery::date_time($comment->created) ?>
<?= t('<a href="#">%author_name</a> said <em>%comment_text</em>',
array("author_name" => p::clean($comment->author_name()),
- "comment_text" => text::limit_words(p::purify($comment->text), 50))); ?>
+ "comment_text" => text::limit_words(nl2br(p::purify($comment->text)), 50))); ?>
</li>
<? endforeach ?>
</ul>