aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXanthor <xanthor@devosi.org>2019-05-17 03:23:12 +0000
committerMario <mario@mariovavti.com>2019-05-17 12:28:41 +0200
commita921deafd1c68321b5f1f06e094537677cdd6cdb (patch)
treec8fc540fbb47ffb801f79dba87efb4ae11f5f949
parent9de729e3e7b52ded3add888468e1c98987071200 (diff)
downloadvolse-hubzilla-a921deafd1c68321b5f1f06e094537677cdd6cdb.tar.gz
volse-hubzilla-a921deafd1c68321b5f1f06e094537677cdd6cdb.tar.bz2
volse-hubzilla-a921deafd1c68321b5f1f06e094537677cdd6cdb.zip
Fix a really disturbing comment
(cherry picked from commit 823c0434ebcba7b7669203323f9cec4bbb9e0f4b) (cherry picked from commit af2b263bc74b16601ec7c123a58f0549613aed27)
-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);