mirror of
https://github.com/friendica/friendica
synced 2025-05-09 20:24:10 +02:00
Refactor bbcode() into BBCode::convert()
This commit is contained in:
parent
29f5270313
commit
0c52866693
21 changed files with 89 additions and 73 deletions
|
@ -9,6 +9,7 @@
|
|||
*/
|
||||
namespace Friendica\Protocol;
|
||||
|
||||
use Friendica\Content\Text\BBCode;
|
||||
use Friendica\Core\Cache;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\L10n;
|
||||
|
@ -4197,7 +4198,7 @@ class Diaspora
|
|||
}
|
||||
|
||||
$about = $profile['about'];
|
||||
$about = strip_tags(bbcode($about));
|
||||
$about = strip_tags(BBCode::convert($about));
|
||||
|
||||
$location = Profile::formatLocation($profile);
|
||||
$tags = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue