From 1740cc82657156beb4c65b4ed111f169c6c5ed01 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Sat, 8 Oct 2022 19:40:34 +0800 Subject: [PATCH] refactor(web/group/announcement): drop DOMPurify --- web/app/views/page-header.php | 6 +----- web/app/views/sidebar.php | 8 +++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/web/app/views/page-header.php b/web/app/views/page-header.php index 5d08023..f5ce020 100644 --- a/web/app/views/page-header.php +++ b/web/app/views/page-header.php @@ -315,11 +315,7 @@ -
- +
purify($group_announcement) ?>
(暂无公告)
diff --git a/web/app/views/sidebar.php b/web/app/views/sidebar.php index dc41b6c..c5175ce 100644 --- a/web/app/views/sidebar.php +++ b/web/app/views/sidebar.php @@ -17,11 +17,9 @@ -
- +
+ purify($group_announcement) ?> +
(暂无公告)