aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorXanthor <xanthor@devosi.org>2019-05-17 05:23:12 +0200
committerXanthor <xanthor@devosi.org>2019-05-17 05:23:12 +0200
commit823c0434ebcba7b7669203323f9cec4bbb9e0f4b (patch)
treef417abda8ac34d2bb0d32456c5f2aa1d529273ab /include
parentf6a4084f81a35a9b19a4dc8ee5608b7f66154180 (diff)
downloadvolse-hubzilla-823c0434ebcba7b7669203323f9cec4bbb9e0f4b.tar.gz
volse-hubzilla-823c0434ebcba7b7669203323f9cec4bbb9e0f4b.tar.bz2
volse-hubzilla-823c0434ebcba7b7669203323f9cec4bbb9e0f4b.zip
Fix a really disturbing comment
Diffstat (limited to 'include')
-rw-r--r--include/html2bbcode.php3
1 files changed, 1 insertions, 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("&nbsp;", " ", $message);