Skip to content

Commit 646468c

Browse files
committed
Fixed support for non roman alphabets #366
1 parent 601146b commit 646468c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/functions.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ function clean(string $value, bool $allowHTML = false): ?string
99
{
1010
$value = trim($value);
1111

12-
//Ignore empty texts or with no regular characters
13-
if ($value === '' || !preg_match('/\w/', $value)) {
14-
return null;
15-
}
16-
1712
if (!$allowHTML) {
1813
$value = html_entity_decode($value);
1914
$value = strip_tags($value);

0 commit comments

Comments
 (0)