remove /r

This commit is contained in:
Christopher 2020-10-23 22:03:50 +02:00
parent 1c19c50d24
commit 4df2251ff7
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@
function clean($string)
{
$string = str_replace("", "", $string);
$string = str_replace("\r", "", $string);
return preg_replace('#\\x1b[[][^A-Za-z]*[A-Za-z]#', '', $string);
}