From: Aryeh Gregor Date: Wed, 9 Jun 2010 20:48:53 +0000 (+0000) Subject: Use Html for HTML, not Xml X-Git-Tag: 1.31.0-rc.0~36561 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/%7B%7B%20url_for%28%27vote%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=commitdiff_plain;h=e0fe7154a27cfae2a9e5672fdbbd8e3e1c361641;p=lhc%2Fweb%2Fwiklou.git 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. --- 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;