Replace non standard 'tt' with 'code' for better HTML5 conformity
authorraymond <raimond.spekking@gmail.com>
Fri, 7 Sep 2012 08:52:49 +0000 (10:52 +0200)
committerraymond <raimond.spekking@gmail.com>
Fri, 7 Sep 2012 08:52:49 +0000 (10:52 +0200)
See http://www.w3.org/wiki/HTML/Elements/tt

Change-Id: I902a6cab5310cd726c84cbd87840bce2c0d51eda

includes/specials/SpecialTags.php

index c895dae..4036ebb 100644 (file)
@@ -69,7 +69,7 @@ class SpecialTags extends SpecialPage {
                }
 
                $newRow = '';
-               $newRow .= Xml::tags( 'td', null, Xml::element( 'tt', null, $tag ) );
+               $newRow .= Xml::tags( 'td', null, Xml::element( 'code', null, $tag ) );
 
                $disp = ChangeTags::tagDescription( $tag );
                $disp .= ' ';