アンケートウィジットでもMFMを使用するように v11 (#4741)

* MFM in poll

* use mfm
This commit is contained in:
MeiMei 2019-04-18 03:14:04 +09:00 committed by syuilo
parent 56a530d769
commit f7b1ef0690

View File

@ -11,7 +11,9 @@
<div class="mkw-polls--body"> <div class="mkw-polls--body">
<div class="poll" v-if="!fetching && poll != null"> <div class="poll" v-if="!fetching && poll != null">
<p v-if="poll.text"><router-link :to="poll | notePage">{{ poll.text }}</router-link></p> <p v-if="poll.text"><router-link :to="poll | notePage">
<mfm :text="poll.text" :author="poll.user" :custom-emojis="poll.emojis"/>
</router-link></p>
<p v-if="!poll.text"><router-link :to="poll | notePage"><fa icon="link"/></router-link></p> <p v-if="!poll.text"><router-link :to="poll | notePage"><fa icon="link"/></router-link></p>
<mk-poll :note="poll"/> <mk-poll :note="poll"/>
</div> </div>