From 29c70995bc03f58503f7a3eb30b43800384fc703 Mon Sep 17 00:00:00 2001 From: GeorgNation <55389952+GeorgNation@users.noreply.github.com> Date: Sun, 21 Jul 2024 22:02:38 +0600 Subject: [PATCH] =?UTF-8?q?=D0=A3=D1=8F=D0=B7=D0=B2=D0=B8=D0=BC=D0=BE?= =?UTF-8?q?=D1=81=D1=82=D1=8C=20=D0=B1=D1=8B=D0=BB=D0=B0=20=D1=81=D0=BB?= =?UTF-8?q?=D0=B8=D1=88=D0=BA=D0=BE=D0=BC=20=D0=B7=D0=B0=D0=BB=D0=B5=D1=87?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit фикс баги с
в био профиля --- app/Controllers/Api/Profile/Update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/Api/Profile/Update.php b/app/Controllers/Api/Profile/Update.php index d3c0006..d5d6946 100644 --- a/app/Controllers/Api/Profile/Update.php +++ b/app/Controllers/Api/Profile/Update.php @@ -27,7 +27,7 @@ class Update } if (strpos($key, 'OnMain') === false) { - $dataArray[$paramKey]['value'] = htmlentities($value); + $dataArray[$paramKey]['value'] = strip_tags($value, ['br']); } } }