Fix a really disturbing comment

This commit is contained in:
Xanthor 2019-05-17 05:23:12 +02:00
parent f6a4084f81
commit 823c0434eb

View File

@ -219,8 +219,7 @@ function html2bbcode($message)
$message = $doc->saveHTML();
// I'm removing something really disturbing
// Don't know exactly what it is
// I'm removing the UTF-8 encoding of a NO-BREAK SPACE codepoint
$message = str_replace(chr(194).chr(160), ' ', $message);
$message = str_replace(" ", " ", $message);