Skip to content
Snippets Groups Projects
Commit 4bd58b7f authored by ThibG's avatar ThibG Committed by Eugen Rochko
Browse files

Display custom emoji in bio field names (#11350)

Already displayed in public pages, but not WebUI
parent 28597908
No related branches found
No related tags found
No related merge requests found
......@@ -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),
}));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment