FIX: Handle poll titles when headings are present (PR #10832)

Poll markdown processing failed when there were any heading elements preceding a poll.

GitHub