summaryrefslogtreecommitdiff
path: root/app/Template/board/comments.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-28 11:28:50 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-28 11:28:50 -0500
commit34d7450d3c13342715e90ec21bceaa13e1baa876 (patch)
treea2d8f2f22ad3fe9b56f01fe2db0357f9b963e660 /app/Template/board/comments.php
parent88d84073aecbe8bdc5f10825b6d7ca6b81c5f7b1 (diff)
Template helpers refactoring
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 ?>