Use Html for HTML, not Xml
authorAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 9 Jun 2010 20:48:53 +0000 (20:48 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 9 Jun 2010 20:48:53 +0000 (20:48 +0000)
Better fix than r66502.  Html should always be used for HTML output, Xml
should only be used if you're actually doing XML (like Atom or
whatever).  Lots of other uses here and elsewhere that should be
corrected.

includes/specials/SpecialVersion.php

index 6336be0..fbb313e 100644 (file)
@@ -353,7 +353,7 @@ class SpecialVersion extends SpecialPage {
 
                if( !$this->firstExtOpened ) {
                        // Insert a spacing line
-                       $out .= '<tr class="sv-space">' . Xml::element( 'td', $opt, '', false ) . "</tr>\n";
+                       $out .= '<tr class="sv-space">' . Html::element( 'td', $opt ) . "</tr>\n";
                }
                $this->firstExtOpened = false;