From a2512ecf745594b2f671146b20e253eb8e1c636a Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Wed, 5 Mar 2014 10:04:28 +0100 Subject: [PATCH] Allow poll options to contain rendered code by not escaping it. --- .../assets/javascripts/discourse/templates/poll.js.handlebars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/poll/assets/javascripts/discourse/templates/poll.js.handlebars b/plugins/poll/assets/javascripts/discourse/templates/poll.js.handlebars index 8e2a5f446c7..fdaff32268f 100644 --- a/plugins/poll/assets/javascripts/discourse/templates/poll.js.handlebars +++ b/plugins/poll/assets/javascripts/discourse/templates/poll.js.handlebars @@ -4,7 +4,7 @@
- {{option}} + {{{ option }}}
{{#if controller.showResults}}
{{i18n poll.voteCount count=votes}}