diff --git a/src/mibew/libs/common/string.php b/src/mibew/libs/common/string.php index d0238aee..e1fb6a9b 100644 --- a/src/mibew/libs/common/string.php +++ b/src/mibew/libs/common/string.php @@ -164,6 +164,6 @@ function sanitize_reg_escape($string) */ function safe_htmlspecialchars($string) { - $string = preg_replace('/[\x00-\x08\x10-\x1f]/', '', $string); + $string = preg_replace('/[\x00-\x08\x0b\x0c\x0e-\x1f]/', '', $string); return htmlspecialchars($string, ENT_QUOTES); }