jenkins-bot has submitted this change and it was merged.

Change subject: Remove <p></p> wrapping around label that shows in tooltip
......................................................................


Remove <p></p> wrapping around label that shows in tooltip

Bug 30399

Change-Id: I45a7651803124e255105feb7d05a4bcd0dc9342c
---
M includes/ballots/RadioRangeBallot.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Bartosz Dziewoński: Looks good to me, but someone else must approve
  Fhocutt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/ballots/RadioRangeBallot.php 
b/includes/ballots/RadioRangeBallot.php
index 5e3524d..48f854e 100644
--- a/includes/ballots/RadioRangeBallot.php
+++ b/includes/ballots/RadioRangeBallot.php
@@ -234,7 +234,7 @@
                                $s .=
                                        Xml::tags( 'td', array(),
                                                Xml::radio( $inputId, $score, 
!strcmp( $oldValue, $score ),
-                                                       array( 'title' => 
$label ) )
+                                                       array( 'title' => 
Sanitizer::stripAllTags( $label ) ) )
                                        ) . "\n";
                        }
                        $s .= "</tr>\n";

-- 
To view, visit https://gerrit.wikimedia.org/r/90555
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I45a7651803124e255105feb7d05a4bcd0dc9342c
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/SecurePoll
Gerrit-Branch: master
Gerrit-Owner: Diederik <[email protected]>
Gerrit-Reviewer: Bartosz Dziewoński <[email protected]>
Gerrit-Reviewer: Fhocutt <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: Qgil <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: Tim Starling <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to