aboutsummaryrefslogtreecommitdiff
path: root/src/components/poll/poll.vue
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2020-12-07 00:11:21 +0200
committerShpuld Shpuldson <shp@cock.li>2020-12-07 00:11:21 +0200
commit415119cda949f2c92865f9ea5db3e377b83d1eb0 (patch)
treeb7061ad73b1841adfaff8c3cfe815f83c77f8e84 /src/components/poll/poll.vue
parent42c747a342cd7d435dcbe411276ac4999ff92395 (diff)
use title html for poll options before vote
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>