# Polls : HTML / Markdown Support?

**URL:** https://meta.discourse.org/t/polls-html-markdown-support/66678
**Category:** Bug
**Created:** [July 23, 2017, 5:45pm UTC](https://meta.discourse.org/t/polls-html-markdown-support/66678 "2017-07-23T17:45:48Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![RobMeade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmeade/32/109119_2.png) [@RobMeade](https://meta.discourse.org/u/RobMeade)
#### Post date: [July 23, 2017, 5:45pm UTC](https://meta.discourse.org/t/polls-html-markdown-support/66678/1 "2017-07-23T17:45:48Z")

</div>

Hi,

I have just put a quick poll together to ask a couple of questions. I wanted to provide some _detail_ against each option (a paragraph of text) and thought that this looked a little messy with the text of the option. I popped an html BR tag in to push things down to the next line of text, the preview on the right looked a lot better.

Whilst experimenting I also added div tags and a couple of urls (using the option from the toolbar which inserted the markdown).

When I posted the topic all of the html and markdown got displayed as plain text.

Is there a reason why either html or markdown are not supported within the polls, or, have I tried using them incorrectly in this context. I appreciate that the polls are probably supposed to be fairly _lightweight_ but being able to offer a more rich experience (especially with the links) I would have thought would be beneficial?

Any info received gratefully 🙂

* * *

Example;

_Poll ([view on site](https://meta.discourse.org/t/polls-html-markdown-support/66678/1))_

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [July 23, 2017, 6:10pm UTC](https://meta.discourse.org/t/polls-html-markdown-support/66678/2 "2017-07-23T18:10:53Z")

</div>

_Poll ([view on site](https://meta.discourse.org/t/polls-html-markdown-support/66678/2))_

Interesting, it looks OK in preview, but not when posted:

 ![](https://global.discourse-cdn.com/meta/original/3X/6/b/6b8ca07ee0eff7a9d2316911b4002b791a4879c3.png)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [July 23, 2017, 6:28pm UTC](https://meta.discourse.org/t/polls-html-markdown-support/66678/3 "2017-07-23T18:28:17Z")

</div>

Bookmarked will sort out monday

---

<div class="post-metadata">

### Author: ![RobMeade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmeade/32/109119_2.png) [@RobMeade](https://meta.discourse.org/u/RobMeade)
#### Post date: [July 23, 2017, 6:38pm UTC](https://meta.discourse.org/t/polls-html-markdown-support/66678/4 "2017-07-23T18:38:24Z")

</div>

Exactly @jomaxro, I must admit I wasn’t even sure that I _could_ use any of the html or markdown initially, but as the preview looked awesome I thought “great” 🙂

@sam - oooh, great, thanks - wasn’t if it was supposed to work with the mark up / down or not but guessing it is, so a fix would be really welcomed - thank you 🙂

I am also relieved I will not be bashed with a copy of HTML for Dummies 😉

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [July 25, 2017, 5:39pm UTC](https://meta.discourse.org/t/polls-html-markdown-support/66678/5 "2017-07-25T17:39:41Z")

</div>

OK, great catch fixed per:

[https://github.com/discourse/discourse/commit/8317fb12e0f9e6f0ce48ff1d3f7a7c10ca4f86d1](https://github.com/discourse/discourse/commit/8317fb12e0f9e6f0ce48ff1d3f7a7c10ca4f86d1)

I will get this fix deployed on standard / business tier later today.

---

<div class="post-metadata">

### Author: ![RobMeade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmeade/32/109119_2.png) [@RobMeade](https://meta.discourse.org/u/RobMeade)
#### Post date: [July 25, 2017, 5:46pm UTC](https://meta.discourse.org/t/polls-html-markdown-support/66678/6 "2017-07-25T17:46:16Z")

</div>

Fantastic! Thanks @sam, really appreciated 🙂

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [July 26, 2017, 10:00pm UTC](https://meta.discourse.org/t/polls-html-markdown-support/66678/7 "2017-07-26T22:00:13Z")

</div>

This topic was automatically closed after 28 hours. New replies are no longer allowed.
