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

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