Merge pull request #5957 from friendica/bug/5955-restore-preshare

Restore preshare prepending in BBCode::convertShare
This commit is contained in:
Michael Vogel 2018-10-18 19:34:29 +02:00 committed by GitHub
commit ca86a9e1d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
);