Discovered in T371454: Use SecurePoll for enwiki's admin election (Fri Oct 25, 2024 - Thu Oct 31, 2024)
Steps to replicate the issue (include links if applicable):
- LocalSettings.php config:
wfLoadExtension( 'SecurePoll' ); $wgGroupPermissions['sysop']['securepoll-create-poll'] = true; $wgGroupPermissions['electionadmin'] = []; $wgSecurePollSingleTransferableVoteEnabled = true;
- Visit http://localhost:8080/wiki/Special:SecurePoll/create
- Create an election of poll type "Range voting (histogram range)"
- For the option text, add [[w:en:Wikipedia:Administrator_elections/October_2024/Candidates/Queen of Hearts|Queen of Hearts]]
- Wait for the election to open
- Go vote
What happens?:
- On the form submitted page, you see raw HTML in the "Summary of your vote" section
What should have happened instead?:
- HTML is rendered
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
- Might be an easy one. May just need to switch from using a <pre> tag to a <div style="color: gray;"> or something.