diff options
author | Mario <mario@mariovavti.com> | 2019-05-17 12:01:21 +0200 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-05-17 12:01:21 +0200 |
commit | b07c55a0d9603c350a584541295ffcde56d64856 (patch) | |
tree | f417abda8ac34d2bb0d32456c5f2aa1d529273ab | |
parent | f6a4084f81a35a9b19a4dc8ee5608b7f66154180 (diff) | |
parent | 823c0434ebcba7b7669203323f9cec4bbb9e0f4b (diff) | |
download | volse-hubzilla-b07c55a0d9603c350a584541295ffcde56d64856.tar.gz volse-hubzilla-b07c55a0d9603c350a584541295ffcde56d64856.tar.bz2 volse-hubzilla-b07c55a0d9603c350a584541295ffcde56d64856.zip |
Merge branch 'patch-1' into 'master'
Fix a really disturbing comment
See merge request hubzilla/core!1650
-rw-r--r-- | include/html2bbcode.php | 3 |
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(" ", " ", $message); |