diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-07-23 10:33:25 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-07-23 10:51:12 +0200 |
commit | cd8763b600d73a076c23a94d9c54ab04aac51314 (patch) | |
tree | e8c3478bdc2147dd551ca4b47917a8bb4bbefe98 /app | |
parent | 8a89a2b0f40c427fc48e449aa166f5f60d5a9575 (diff) |
[Glitch] Display custom emoji in bio field names
Port 4bd58b7f2da369a608eacb97f832728ddc139ce8 to glitch-soc
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/flavours/glitch/actions/importer/normalizer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/actions/importer/normalizer.js b/app/javascript/flavours/glitch/actions/importer/normalizer.js index c19ca8265..52d85c059 100644 --- a/app/javascript/flavours/glitch/actions/importer/normalizer.js +++ b/app/javascript/flavours/glitch/actions/importer/normalizer.js @@ -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), })); |