mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 16:12:51 +08:00
Merge pull request #2055 from ligthyear/allow-html-in-poll-options
Allow poll options to contain rendered code
This commit is contained in:
commit
aadf807054
|
@ -4,7 +4,7 @@
|
|||
<td class="radio"><input type="radio" name="poll" {{bind-attr checked=checked disabled=controller.loading}}></td>
|
||||
<td class="option">
|
||||
<div class="option">
|
||||
{{option}}
|
||||
{{{ option }}}
|
||||
</div>
|
||||
{{#if controller.showResults}}
|
||||
<div class="result">{{i18n poll.voteCount count=votes}}</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user