From af2b263bc74b16601ec7c123a58f0549613aed27 Mon Sep 17 00:00:00 2001 From: Xanthor Date: Fri, 17 May 2019 03:23:12 +0000 Subject: Fix a really disturbing comment (cherry picked from commit 823c0434ebcba7b7669203323f9cec4bbb9e0f4b) --- include/html2bbcode.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/html2bbcode.php b/include/html2bbcode.php index 1a03fbdaf..c916421b8 100644 --- a/include/html2bbcode.php +++ b/include/html2bbcode.php @@ -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); -- cgit v1.2.3