aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-08-13 14:01:30 +0000
committerlain <lain@soykaf.club>2020-08-13 14:01:30 +0000
commit1a8840c7c3bb698f3984028db5c1b71025d9d6a1 (patch)
tree23cc13102302ad0bdae9997da487ca7143334e69 /src/components
parentb9d1ecec44375c15e0425fb78dbc8ca92c0669a8 (diff)
parentae4dc3e4390c4ba1b632be6aae7cc92480a65918 (diff)
Merge branch 'fix/treat-field-name-as-text' into 'develop'
treat field name as text See merge request pleroma/pleroma-fe!1210
Diffstat (limited to 'src/components')
-rw-r--r--src/components/user_profile/user_profile.vue7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue
index 361a3b5c..c7c67c0a 100644
--- a/src/components/user_profile/user_profile.vue
+++ b/src/components/user_profile/user_profile.vue
@@ -20,13 +20,14 @@
: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"
- v-html="field.name"
- />
+ >
+ {{ field.name }}
+ </dt>
+ <!-- eslint-disable vue/no-v-html -->
<dd
:title="user.fields_text[index].value"
class="user-profile-field-value"