mirror of
https://github.com/friendica/friendica
synced 2025-04-28 03:10:11 +00:00
Bugfix: Avoid "Class not found" error
This commit is contained in:
parent
3086666c38
commit
c438e47827
5 changed files with 10 additions and 5 deletions
|
@ -11,6 +11,7 @@ namespace Friendica\Protocol;
|
|||
use Friendica\App;
|
||||
use Friendica\Content\OEmbed;
|
||||
use Friendica\Content\Text\BBCode;
|
||||
use Friendica\Content\Text\HTML;
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\L10n;
|
||||
|
@ -2453,7 +2454,7 @@ class DFRN
|
|||
$purifier = new HTMLPurifier($config);
|
||||
$item['body'] = $purifier->purify($item['body']);
|
||||
|
||||
$item['body'] = @Friendica\Content\Text\HTML::toBBCode($item['body']);
|
||||
$item['body'] = @HTML::toBBCode($item['body']);
|
||||
}
|
||||
|
||||
/// @todo We should check for a repeated post and if we know the repeated author.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue