From: Hypolite Petovan Date: Thu, 18 Oct 2018 15:23:48 +0000 (-0400) Subject: Restore preshare prepending in BBCode::convertShare X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ee32cf6b92cb7a7794456b42d8f9d0bf0d1d457f;p=friendica.git Restore preshare prepending in BBCode::convertShare Fixes #5955 Follow-up to #5942 --- 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 );