diff options
Diffstat (limited to 'modules/comment/views/comment.html.php')
| -rw-r--r-- | modules/comment/views/comment.html.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/views/comment.html.php b/modules/comment/views/comment.html.php index ce52951b..ab72a0c8 100644 --- a/modules/comment/views/comment.html.php +++ b/modules/comment/views/comment.html.php @@ -2,7 +2,7 @@ <li id="gComment-<?= $comment->id; ?>"> <p class="gAuthor"> <a href="#"> - <img src="<?= $comment->author()->avatar_url(40, $theme->url("images/avatar.jpg", true)) ?>" + <img src="<?= $comment->author()->avatar_url(40, $theme->theme_url("images/avatar.jpg", true)) ?>" class="gAvatar" alt="<?= p::clean($comment->author_name()) ?>" width="40" @@ -13,6 +13,6 @@ "author_name" => p::clean($comment->author_name()))) ?> </p> <div> - <?= p::clean($comment->text) ?> + <?= nl2br(p::purify($comment->text)) ?> </div> </li> |
