From 41dbdc2b28d4a5187db7c393cee5e99cdbb28fb3 Mon Sep 17 00:00:00 2001 From: Shpuld Shpuldson Date: Wed, 11 Nov 2020 10:40:26 +0200 Subject: [PATCH] fix emoji not working in profile field names --- src/components/user_profile/user_profile.vue | 7 +++---- .../entity_normalizer/entity_normalizer.service.js | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue index f1f51840..745e795d 100644 --- a/src/components/user_profile/user_profile.vue +++ b/src/components/user_profile/user_profile.vue @@ -20,14 +20,13 @@ :key="index" class="user-profile-field" > +
- {{ field.name }} -
- + v-html="field.name" + />
{ output.fields = data.fields output.fields_html = data.fields.map(field => { return { - name: addEmojis(field.name, data.emojis), + name: addEmojis(escape(field.name), data.emojis), value: addEmojis(field.value, data.emojis) } })