Last modified: 2013-10-18 18:22:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32399, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30399 - SecurePoll extension erroneously adds <p> tags to vote input title attributes (tooltips)
SecurePoll extension erroneously adds <p> tags to vote input title attributes...
Status: PATCH_TO_REVIEW
Product: MediaWiki extensions
Classification: Unclassified
SecurePoll (Other open bugs)
unspecified
All All
: Low trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-16 16:48 UTC by Helder
Modified: 2013-10-18 18:22 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
The tooltip contains <p> (3.41 KB, image/png)
2011-08-16 16:48 UTC, Helder
Details

Description Helder 2011-08-16 16:48:49 UTC
Created attachment 8926 [details]
The tooltip contains <p>

When I visited
https://wikimedia.amellus.net/index.php/Special:SecurePoll/vote/230
I noticed some <p> tags being displayed in the tooltips...

I think they shouldn't be there
Comment 1 MZMcBride 2012-12-10 16:19:40 UTC
Confirmed that this is a bug. I've just encountered this issue at <https://en.wikipedia.org/wiki/Special:SecurePoll/vote/259>. The relevant HTML looks like this:

---
<input name="securepoll_q260_opt265" type="radio" value="0" checked="checked" title="&lt;p&gt;No vote&#10;&lt;/p&gt;" />
---

The title attribute should be simply "No vote" in this case. For some reason, the text is erroneously getting wrapped in (escaped) <p></p> tags.

I'm marking this bug with the "easy" keyword as it should be trivial to resolve.
Comment 2 Diederik van Liere 2013-10-18 18:22:06 UTC
Patch: https://gerrit.wikimedia.org/r/90555

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links