mirror of
https://github.com/friendica/friendica
synced 2025-04-23 05:50:11 +00:00
Deprecate limited-use and potentially confusing [class] BBCode tag
- Replace its usage in Mastodon emoji with an internal tag [emoji]
This commit is contained in:
parent
5d0b7fd87b
commit
39aff642aa
4 changed files with 5 additions and 15 deletions
|
@ -96,7 +96,7 @@ class Processor
|
|||
array_combine(
|
||||
array_column($emojis, 'name'),
|
||||
array_map(function ($emoji) {
|
||||
return '[class=emoji mastodon][img=' . $emoji['href'] . ']' . $emoji['name'] . '[/img][/class]';
|
||||
return '[emoji=' . $emoji['href'] . ']' . $emoji['name'] . '[/emoji]';
|
||||
}, $emojis)
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue