From 686d57b8225d4983a84baacf0b9502a579211af8 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Tue, 28 Feb 2023 20:27:18 +0800 Subject: [PATCH] fix(blog): hide notice --- web/app/controllers/subdomain/blog/blog.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/controllers/subdomain/blog/blog.php b/web/app/controllers/subdomain/blog/blog.php index 04d9113..ec5aa6c 100644 --- a/web/app/controllers/subdomain/blog/blog.php +++ b/web/app/controllers/subdomain/blog/blog.php @@ -221,7 +221,7 @@ if (UOJUserBlog::userHasManagePermission(Auth::user())) { sendSystemMsg( $comment->info['poster'], '评论隐藏通知', - "您为博客 " . UOJBlog::cur()->getLink() . " 回复的评论 “" . substr($comment->info['content'], 0, 30) . "……” 已被管理员隐藏,隐藏原因为 “{$reason}”。" + "您为博客 " . UOJBlog::cur()->getLink() . " 回复的评论 “" . substr(HTML::stripTags($comment->info['content']), 0, 30) . "……” 已被管理员隐藏,隐藏原因为 “{$reason}”。" ); } };