aboutsummaryrefslogtreecommitdiffstats
path: root/include/html2bbcode.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-05-20 12:27:00 +0200
committerMario Vavti <mario@mariovavti.com>2019-05-20 12:27:00 +0200
commit2d0f96d28be7c701a48e58a63a6296fadccf8cfd (patch)
tree737deefde7f9e6a52f27741998099002f52877d9 /include/html2bbcode.php
parent34d1f797778c71357989d793a6356ed9f8aeefed (diff)
parentaf2b263bc74b16601ec7c123a58f0549613aed27 (diff)
downloadvolse-hubzilla-2d0f96d28be7c701a48e58a63a6296fadccf8cfd.tar.gz
volse-hubzilla-2d0f96d28be7c701a48e58a63a6296fadccf8cfd.tar.bz2
volse-hubzilla-2d0f96d28be7c701a48e58a63a6296fadccf8cfd.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);