Diederik has uploaded a new change for review.

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


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SecurePoll 
refs/changes/55/90555/1

diff --git a/includes/ballots/RadioRangeBallot.php 
b/includes/ballots/RadioRangeBallot.php
index 3256ce7..8f35487 100644
--- a/includes/ballots/RadioRangeBallot.php
+++ b/includes/ballots/RadioRangeBallot.php
@@ -155,7 +155,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: newchange
Gerrit-Change-Id: I45a7651803124e255105feb7d05a4bcd0dc9342c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SecurePoll
Gerrit-Branch: master
Gerrit-Owner: Diederik <[email protected]>

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

Reply via email to