aboutsummaryrefslogtreecommitdiffstats
path: root/include/html2bbcode.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-05-28 16:16:29 -0700
committerzotlabs <mike@macgirvin.com>2019-05-28 16:16:29 -0700
commit932b4140637e22e9fb4ff3a91a9c8f186915646b (patch)
treec6e6b8c19079d34fda0fa11d3af26ddef69ae2b6 /include/html2bbcode.php
parent7c2aafd4ee123f9db1ea2733119e0711f53414cc (diff)
parentca8d252ad75306e6d3cd066d5c593e94de1dfbdd (diff)
downloadvolse-hubzilla-932b4140637e22e9fb4ff3a91a9c8f186915646b.tar.gz
volse-hubzilla-932b4140637e22e9fb4ff3a91a9c8f186915646b.tar.bz2
volse-hubzilla-932b4140637e22e9fb4ff3a91a9c8f186915646b.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'include/html2bbcode.php')
-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);