summaryrefslogtreecommitdiffstats
path: root/includes/comments.php
diff options
context:
space:
mode:
authorEltrac Koalar <hi@guhub.cn>2020-03-20 11:53:43 +0800
committerGitHub <noreply@github.com>2020-03-20 11:53:43 +0800
commite6b9a67fa9e962c92579c782f57a6eb59b18d82e (patch)
tree4ac5e84466f5cee2a6c9a064dd10cf9859e962b8 /includes/comments.php
parent35317b5a41c62da7dbc4a9e71cfabfb3395daab8 (diff)
🎉 Add: 评论支持 owo 表情解析了
Diffstat (limited to 'includes/comments.php')
-rw-r--r--includes/comments.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/comments.php b/includes/comments.php
index bd79af2..89cd165 100644
--- a/includes/comments.php
+++ b/includes/comments.php
@@ -28,7 +28,7 @@ echo $commentClass;
<span class="comment-reply">
<?php $comments->reply('<i class="iconfont icon-return"></i>'); ?>
</span>
- <?php getCommentHF($comments->coid); $comments->content(); ?>
+ <?php getCommentHF($comments->coid); echo Contents::parseEmo($comments->content); ?>
</div>
<p class="comment-meta">
<span class="comment-author"><a href="<?php echo $comments->url; ?>" target="_blank"><?php echo $comments->author; ?></a></span>