Add removal of duplicate spaces in input strings in MD_STD_IN
This commit is contained in:
parent
49ab75afe8
commit
0bfd6c3765
|
@ -78,6 +78,9 @@ final class MD_STD_IN {
|
|||
FILTER_FLAG_NO_ENCODE_QUOTES);
|
||||
|
||||
if ($output === false) return "";
|
||||
while (strpos($output, " ") !== false) {
|
||||
$output = str_replace(" ", " ", $output);
|
||||
}
|
||||
|
||||
return trim($output);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user