From 337b45acbb1092d4cc34b818d3d45b5c78400cc2 Mon Sep 17 00:00:00 2001 From: danpros Date: Thu, 14 Mar 2024 22:30:23 +0700 Subject: [PATCH] Update functions.php --- system/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/includes/functions.php b/system/includes/functions.php index 43ecb1b..93c8a69 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -1221,7 +1221,7 @@ function get_author($name) // Get the contents and convert it to HTML $author->about = MarkdownExtra::defaultTransform(remove_html_comments($content)); - $author->description = strip_tags($author->about); + $author->description = safe_html(strip_tags($author->about)); $toc = explode('', $author->about); if (isset($toc['1'])) {