From b192810288658adcb8264d3e067bd4073a72f79a Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 16 May 2020 16:41:37 +0000 Subject: [PATCH] Still more missing places replaced --- src/Content/Text/BBCode.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Content/Text/BBCode.php b/src/Content/Text/BBCode.php index 84930cccc0..61b71743cb 100644 --- a/src/Content/Text/BBCode.php +++ b/src/Content/Text/BBCode.php @@ -2035,7 +2035,7 @@ class BBCode // Convert it to HTML - don't try oembed if ($for_diaspora) { - $text = self::convert($text, false, 3); + $text = self::convert($text, false, self::DIASPORA); // Add all tags that maybe were removed if (preg_match_all("/#\[url\=([$url_search_string]*)\](.*?)\[\/url\]/ism", $original_text, $tags)) { @@ -2049,7 +2049,7 @@ class BBCode $text = $text . " " . $tagline; } } else { - $text = self::convert($text, false, 4); + $text = self::convert($text, false, self::CONNECTORS); } // If a link is followed by a quote then there should be a newline before it -- 2.39.5