aboutsummaryrefslogtreecommitdiff
path: root/src/components/poll/poll.vue
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2020-12-15 19:49:32 +0000
committerShpuld Shpludson <shp@cock.li>2020-12-15 19:49:32 +0000
commit5077549c7314c5ba18160a2a1a0bb303f143c182 (patch)
tree75692d4698875fa4df4ff239222ed2bb25d12b24 /src/components/poll/poll.vue
parent32ed09bae56a9a10e50906fc80cdd0f2357bceb3 (diff)
parent415119cda949f2c92865f9ea5db3e377b83d1eb0 (diff)
Merge branch 'fix/no-emoji-in-poll-when-voting' into 'develop'
fix #1026 use title html for poll options before vote Closes #1026 See merge request pleroma/pleroma-fe!1307
Diffstat (limited to 'src/components/poll/poll.vue')
-rw-r--r--src/components/poll/poll.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/poll/poll.vue b/src/components/poll/poll.vue
index 264a5f03..42819c19 100644
--- a/src/components/poll/poll.vue
+++ b/src/components/poll/poll.vue
@@ -42,7 +42,8 @@
:value="index"
>
<label class="option-vote">
- <div>{{ option.title }}</div>
+ <!-- eslint-disable-next-line vue/no-v-html -->
+ <div v-html="option.title_html" />
</label>
</div>
</div>