r67759 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r67758
|
r67759
|
r67760
>
Date:
20:48, 9 June 2010
Author:
simetrical
Status:
ok
Tags:
Comment:
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.
Modified paths:
/trunk/phase3/includes/specials/SpecialVersion.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/specials/SpecialVersion.php
—
—
@@ -353,7 +353,7 @@
354
354
355
355
if( !$this->firstExtOpened ) {
356
356
// Insert a spacing line
357
- $out .= '<tr class="sv-space">' . Xml::element( 'td', $opt, '', false ) . "</tr>\n";
357
+ $out .= '<tr class="sv-space">' . Html::element( 'td', $opt ) . "</tr>\n";
358
358
}
359
359
$this->firstExtOpened = false;
360
360
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r66502
HTML5 fix: short tag not allowed for <td>
siebrand
23:37, 15 May 2010
Status & tagging log
09:57, 31 August 2010
Tim Starling
(
talk
|
contribs
)
changed the
status
of r67759
[
removed:
new
added:
ok]