allow custom emojis in field keys in web app

staging
multiple creatures 2019-05-19 07:17:02 -05:00
parent c66d932c22
commit 978ed2797f
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),
}));