Fixes https://github.com/friendica/friendica/issues/6109
Addresses https://github.com/friendica/friendica/issues/5913#issuecomment-
437628443
use Abraham\TwitterOAuth\TwitterOAuthException;
use Friendica\App;
use Friendica\Content\OEmbed;
+use Friendica\Content\Text\BBCode;
use Friendica\Content\Text\Plaintext;
use Friendica\Core\Addon;
use Friendica\Core\Config;
}
// it seems as if the entities aren't always covering all mentions. So the rest will be checked here
- $tags = Strings::getTags($body);
+ $tags = BBCode::getTags($body);
if (count($tags)) {
foreach ($tags as $tag) {