mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 10:38:07 +01:00
Display custom emoji in bio field names (#11350)
Already displayed in public pages, but not WebUI
This commit is contained in:
parent
2859790890
commit
4bd58b7f2d
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ export function normalizeAccount(account) {
|
|||
if (account.fields) {
|
||||
account.fields = account.fields.map(pair => ({
|
||||
...pair,
|
||||
name_emojified: emojify(escapeTextContentForBrowser(pair.name)),
|
||||
name_emojified: emojify(escapeTextContentForBrowser(pair.name), emojiMap),
|
||||
value_emojified: emojify(pair.value, emojiMap),
|
||||
value_plain: unescapeHTML(pair.value),
|
||||
}));
|
||||
|
|
Loading…
Reference in a new issue