Use plainext

This commit is contained in:
Michael 2020-09-23 09:00:09 +00:00
parent b0c9c9b7cb
commit c5304d1ff4

View File

@ -43,6 +43,7 @@ use Friendica\Protocol\ActivityPub;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\JsonLD;
use Friendica\Util\Strings;
use Text_LanguageDetect;
/**
* ActivityPub Processor Protocol class
@ -845,7 +846,7 @@ class Processor
}
}
$content = mb_strtolower(JsonLD::fetchElement($activity['as:object'], 'as:content', '@value'));
$content = mb_strtolower(BBCode::toPlaintext(HTML::toBBCode(JsonLD::fetchElement($activity['as:object'], 'as:content', '@value')), false));
$tagList = array_unique(array_merge($systemTags, $userTags));
foreach ($messageTags as $tag) {