mirror of
https://github.com/friendica/friendica
synced 2025-04-26 16:30:12 +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
|
@ -9,6 +9,7 @@ namespace Friendica\Content\Text;
|
|||
use Friendica\BaseObject;
|
||||
use Friendica\Model\Contact;
|
||||
use Michelf\MarkdownExtra;
|
||||
use Friendica\Content\Text\HTML;
|
||||
|
||||
/**
|
||||
* Friendica-specific usage of Markdown
|
||||
|
@ -92,7 +93,7 @@ class Markdown extends BaseObject
|
|||
|
||||
$s = str_replace('#', '#', $s);
|
||||
|
||||
$s = Friendica\Content\Text\HTML::toBBCode($s);
|
||||
$s = HTML::toBBCode($s);
|
||||
|
||||
// protect the recycle symbol from turning into a tag, but without unescaping angles and naked ampersands
|
||||
$s = str_replace('♲', html_entity_decode('♲', ENT_QUOTES, 'UTF-8'), $s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue