summaryrefslogtreecommitdiff
path: root/app/Template/board/comments.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/board/comments.php')
-rw-r--r--app/Template/board/comments.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/board/comments.php b/app/Template/board/comments.php
index 83d6bd9a..5424df78 100644
--- a/app/Template/board/comments.php
+++ b/app/Template/board/comments.php
@@ -1,12 +1,12 @@
<section>
<?php foreach ($comments as $comment): ?>
<p class="comment-title">
- <span class="comment-username"><?= Helper\escape($comment['name'] ?: $comment['username']) ?></span> @ <span class="comment-date"><?= dt('%b %e, %Y, %k:%M %p', $comment['date']) ?></span>
+ <span class="comment-username"><?= $this->e($comment['name'] ?: $comment['username']) ?></span> @ <span class="comment-date"><?= dt('%b %e, %Y, %k:%M %p', $comment['date']) ?></span>
</p>
<div class="comment-inner">
<div class="markdown">
- <?= Helper\markdown($comment['comment']) ?>
+ <?= $this->markdown($comment['comment']) ?>
</div>
</div>
<?php endforeach ?>