aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_profile/user_profile.vue
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2020-11-11 10:40:26 +0200
committerShpuld Shpuldson <shp@cock.li>2020-11-11 10:40:26 +0200
commit41dbdc2b28d4a5187db7c393cee5e99cdbb28fb3 (patch)
tree648760d0ab61148475ed74babf055e3a57e23204 /src/components/user_profile/user_profile.vue
parente6ca489d302fe4d1e9379067bbf1bbb02ed3e87b (diff)
fix emoji not working in profile field names
Diffstat (limited to 'src/components/user_profile/user_profile.vue')
-rw-r--r--src/components/user_profile/user_profile.vue7
1 files changed, 3 insertions, 4 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"
>
+ <!-- eslint-disable vue/no-v-html -->
<dt
:title="user.fields_text[index].name"
class="user-profile-field-name"
@click.prevent="linkClicked"
- >
- {{ field.name }}
- </dt>
- <!-- eslint-disable vue/no-v-html -->
+ v-html="field.name"
+ />
<dd
:title="user.fields_text[index].value"
class="user-profile-field-value"