From e0c7c19ef8e9034179aec5a36056e96e583496ed Mon Sep 17 00:00:00 2001 From: Roliga Date: Fri, 12 Apr 2019 12:24:04 +0200 Subject: [PATCH] Handle unicode in excerpt --- init.php | 1 + 1 file changed, 1 insertion(+) diff --git a/init.php b/init.php index 9637f70..0e8a153 100644 --- a/init.php +++ b/init.php @@ -74,6 +74,7 @@ class Discord_Webhook extends Plugin { if ($content_length > 0) { $content_stripped = preg_replace('##i', "\n", $article["content"]); $content_stripped = strip_tags($content_stripped); + $content_stripped = html_entity_decode($content_stripped); $content_stripped = trim($content_stripped); if (strlen($content_stripped) > $content_length) {