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

Change subject: SecurePoll tally should show parsed options correctly
......................................................................


SecurePoll tally should show parsed options correctly

Bug: T145400
Change-Id: Ie8e67a9edcb03dc072f12d282b96a8f61d505fc4
---
M includes/talliers/Tallier.php
1 file changed, 3 insertions(+), 1 deletion(-)

Approvals:
  Aaron Schulz: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/talliers/Tallier.php b/includes/talliers/Tallier.php
index 07c7005..ec4ad30 100644
--- a/includes/talliers/Tallier.php
+++ b/includes/talliers/Tallier.php
@@ -89,7 +89,9 @@
                        $option = $this->optionsById[$oid];
                        $s .= "<tr>" .
                                Xml::element( 'td', array(), $rank ) .
-                               Xml::element( 'td', array(), 
$option->parseMessage( 'text', false ) ) .
+                               Xml::openElement( 'td', array() ) .
+                               $option->parseMessage( 'text', false ) .
+                               Xml::closeElement( 'td' ) .
                                "</tr>\n";
                }
                $s .= "</table>";

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie8e67a9edcb03dc072f12d282b96a8f61d505fc4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SecurePoll
Gerrit-Branch: master
Gerrit-Owner: Huji <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to