From 646468c2bd50645fc0229dcd7a38b8ef7300c357 Mon Sep 17 00:00:00 2001 From: Oscar Otero Date: Fri, 12 Jun 2020 17:44:34 +0200 Subject: [PATCH] Fixed support for non roman alphabets #366 --- src/functions.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/functions.php b/src/functions.php index d380e8ee..35aebfa2 100644 --- a/src/functions.php +++ b/src/functions.php @@ -9,11 +9,6 @@ function clean(string $value, bool $allowHTML = false): ?string { $value = trim($value); - //Ignore empty texts or with no regular characters - if ($value === '' || !preg_match('/\w/', $value)) { - return null; - } - if (!$allowHTML) { $value = html_entity_decode($value); $value = strip_tags($value);