mirror of
https://github.com/friendica/friendica
synced 2025-04-27 11:10:12 +00:00
Use constants for the BBCode modes
This commit is contained in:
parent
7b8178e046
commit
0cf517ad76
9 changed files with 48 additions and 52 deletions
|
@ -37,7 +37,7 @@ class Field extends BaseFactory
|
|||
*/
|
||||
public function createFromProfileField(ProfileField $profileField)
|
||||
{
|
||||
return new \Friendica\Api\Entity\Mastodon\Field($profileField->label, BBCode::convert($profileField->value, false, 9));
|
||||
return new \Friendica\Api\Entity\Mastodon\Field($profileField->label, BBCode::convert($profileField->value, false, BBCode::ACTIVITYPUB));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue