Hypolite Petovan 2018-11-10 20:52:57 -05:00 committed by GitHub
parent 2d745b11d7
commit 053fb67a98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -65,6 +65,7 @@ use Abraham\TwitterOAuth\TwitterOAuth;
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;
@ -1265,7 +1266,7 @@ function twitter_expand_entities(App $a, $body, $item, $picture)
}
// 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) {