From e0fe7154a27cfae2a9e5672fdbbd8e3e1c361641 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Wed, 9 Jun 2010 20:48:53 +0000 Subject: [PATCH] Use Html for HTML, not Xml 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialVersion.php b/includes/specials/SpecialVersion.php index 6336be04bb..fbb313e564 100644 --- a/includes/specials/SpecialVersion.php +++ b/includes/specials/SpecialVersion.php @@ -353,7 +353,7 @@ class SpecialVersion extends SpecialPage { if( !$this->firstExtOpened ) { // Insert a spacing line - $out .= '' . Xml::element( 'td', $opt, '', false ) . "\n"; + $out .= '' . Html::element( 'td', $opt ) . "\n"; } $this->firstExtOpened = false; -- 2.20.1