From beaa911bac302c67b140cffbc0a083f413e71611 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 13 Jul 2017 05:57:37 +0000 Subject: [PATCH] Bugfix: Some special characters weren't converted correctly --- include/bb2diaspora.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.39.5