public fixAnnoyingCharacters ( string $html ) : string | ||
$html | string | |
return | string |
function fixAnnoyingCharacters($html)
{
// Replace Non-breaking spaces with normal spaces
$html = preg_replace('/\\xC2\\xA0/', ' ', $html);
return $html;
}