Page MenuHomePhabricator

SecurePoll tally should show parsed options correctly
Closed, ResolvedPublic

Description

Currently, the tally will parse the option text (for instance if it contains wikicode for a link, it will create a linnk) but the output is returned as raw HTML, see screenshot below.

Capture.PNG (171×745 px, 19 KB)

Event Timeline

Turns out it is happening because the option's text was passed to the XML::element funciton which assumes what is given to it is plain text, and escapes HTML chars. I will submit a patch shortly that fixes it.

Change 310051 had a related patch set uploaded (by Huji):
SecurePoll tally should show parsed options correctly

https://gerrit.wikimedia.org/r/310051

Change 310051 merged by jenkins-bot:
SecurePoll tally should show parsed options correctly

https://gerrit.wikimedia.org/r/310051