Polls under Details

If I build a poll under details, this happens.

OPEN ME! [poll type=regular results=always chartType=bar]
  • I see jumbled text.
  • I see a poll.
[/] [poll ]

as opposed to:

  • I see jumbled text.
  • I see a poll.

0 voters

Is this a bug?
It should look like this (edited in Paint)

Let me try …

  • This is the 1st choice
  • This is another choice

0 voters

It works.

Basically in your collapsed item … it showed that the closing tag was incorrect. You had …

… instead of [/poll].

If there was an error, Discourse has fixed it since.

2 Likes

That’s not my question. I’d built a poll under:

Hide Details

If I build a poll, it works, but if I build a poll within Hide Details it doesn’t build. I’ll ask in meta.discourse.

[poll type=regular results=always chartType=bar]
  • Pizza
  • Burgers
[/ [poll ]

see?

Here y’are:

Doesn’t let me fix that. When I press edit, it automatically fixes. I press save, and it reverts!!

The best I can do…

With what?
  • (S)ketchup
  • mustard
  • mayonnaise

0 voters

<details>

[poll]
# With what?
* (S)ketchup
* mustard
* mayonnaise
[/poll]

</details>

…a better one:

Hidden Poll

With what?
  • (S)ketchup
  • mustard
  • mayonnaise

0 voters

Code
<details>
  <summary>Hidden Poll</summary>
  <p>

[poll]
# With what?
* (S)ketchup
* mustard
* mayonnaise
[/poll]
  </p>

</details>

yea, okay. I understand. Discourse was the best place to log that.

They sorted it.

Hidden Poll
  • yayy!
  • Yeay!

0 voters

Thanks @danrathbun

Who voted mustard??? Sketchup all the way!!!

:joy:

Okay, I closed the vote so you won! :wink: :beers:

1 Like
Ice Cream
Choose one Flavor:
  • Chocolate
  • Vanilla
  • Strawberry

0 voters

… well I think the widget needs some work.

1 Like