HTML compatibility: use space before the / on <br /> and <hr />, some old browsers...
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 11 Feb 2005 06:37:22 +0000 (06:37 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 11 Feb 2005 06:37:22 +0000 (06:37 +0000)
includes/Skin.php
includes/SpecialUpload.php

index b6b7a4d..276cddb 100644 (file)
@@ -406,7 +406,7 @@ class Skin extends Linker {
                # optional 'dmoz-like' category browser. Will be shown under the list
                # of categories an article belong to
                if($wgUseCategoryBrowser) {
-                       $s .= '<br/><hr/>';
+                       $s .= '<br /><hr />';
 
                        # get a big array of the parents tree
                        $parenttree = $wgTitle->getParentCategoryTree();
index 1ac4a48..23cd7a7 100644 (file)
@@ -431,7 +431,7 @@ class UploadForm {
 
                $sub = wfMsg( 'uploadwarning' );
                $wgOut->addHTML( "<h2>{$sub}</h2>\n" );
-               $wgOut->addHTML( "<ul class='warning'>{$warning}</ul><br/>\n" );
+               $wgOut->addHTML( "<ul class='warning'>{$warning}</ul><br />\n" );
 
                $save = wfMsg( 'savefile' );
                $reupload = wfMsg( 'reupload' );