From 5244c525b59ff08473d4cbff5bf039835f86b611 Mon Sep 17 00:00:00 2001 From: rsgrinko Date: Mon, 18 Jul 2022 13:53:50 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/lib/Core/MQTasks.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/lib/Core/MQTasks.class.php b/core/lib/Core/MQTasks.class.php index 36b235f..1b72206 100644 --- a/core/lib/Core/MQTasks.class.php +++ b/core/lib/Core/MQTasks.class.php @@ -297,6 +297,7 @@ DELETE from `jokes` WHERE `jokes`.id not in (SELECT id FROM t_temp);' $lidArticlePost = SystemFunctions::previewText($lidArticle, 100); $fullArticlePost = SystemFunctions::previewText($fullArticle, 250); + $fullArticlePost = strip_tags($fullArticlePost); $post = '' . $title . '' . PHP_EOL . $lidArticlePost . PHP_EOL . $fullArticlePost; $post .= PHP_EOL . 'Подробнее';