From: Michael Date: Thu, 13 Jul 2017 05:57:37 +0000 (+0000) Subject: Bugfix: Some special characters weren't converted correctly X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=beaa911bac302c67b140cffbc0a083f413e71611;p=friendica.git Bugfix: Some special characters weren't converted correctly --- diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php index 80ee1b50dc..832dab7e8d 100644 --- a/include/bb2diaspora.php +++ b/include/bb2diaspora.php @@ -188,7 +188,7 @@ function bb2diaspora($Text, $preserve_nl = false, $fordiaspora = true) { $Text = $converter->convert($Text); // unmask the special chars back to HTML - $Text = str_replace(array('&_lt_;', '&_gt_;', '&_amp_;'), array('<', '>', '&'), $Text); + $Text = str_replace(array('&\_lt\_;', '&\_gt\_;', '&\_amp\_;'), array('<', '>', '&'), $Text); $a->save_timestamp($stamp1, "parser");