From ee32cf6b92cb7a7794456b42d8f9d0bf0d1d457f Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 18 Oct 2018 11:23:48 -0400 Subject: [PATCH] Restore preshare prepending in BBCode::convertShare Fixes #5955 Follow-up to #5942 --- src/Content/Text/BBCode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Content/Text/BBCode.php b/src/Content/Text/BBCode.php index 61e48027e0..8d5da11cda 100644 --- a/src/Content/Text/BBCode.php +++ b/src/Content/Text/BBCode.php @@ -906,7 +906,7 @@ class BBCode extends BaseObject $attributes['avatar'] = ProxyUtils::proxifyUrl($attributes['avatar'], false, ProxyUtils::SIZE_THUMB); } - return $callback($attributes, $author_contact, $match[3], trim($match[1]) != ''); + return $match[1] . $callback($attributes, $author_contact, $match[3], trim($match[1]) != ''); }, $text ); -- 2.39.5