1
1
Fork 0

Restore preshare prepending in BBCode::convertShare

Fixes #5955
Follow-up to #5942
This commit is contained in:
Hypolite Petovan 2018-10-18 11:23:48 -04:00 committed by GitHub
parent a1919992b9
commit ee32cf6b92
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
);