I’m creating a post via POST request with the API which contains a raw parameter with markdown for a poll:
[poll name=color]\n- Green\n- Blue\n- Red\n[/poll]
However the newlines don’t work so the poll isn’t rendered into markdown correctly, output in the post:
[poll name=color]\ \n- Green\n- Blue\n- Red\n [/]
I found https://meta.discourse.org/t/posting-a-poll-via-the-api-is-not-working/37802/14 which seems to suggest that it’s possible, just not sure how with a POST request? I’ve tried passing a
false but it doesn’t make a difference.