use Friendica\BaseObject;
use Friendica\Model\Contact;
use Michelf\MarkdownExtra;
+use Friendica\Content\Text\HTML;
/**
* Friendica-specific usage of Markdown
$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);