Display custom emoji in bio field names (#11350)

Already displayed in public pages, but not WebUI
lolsob-rspec
ThibG 2019-07-21 03:40:27 +02:00 committed by Eugen Rochko
parent 1f72e6226a
commit 2582701b72
1 changed files with 1 additions and 1 deletions

View File

@ -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),
}));