Fix for r53034: left off \n on doctype
authorAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 12 Jul 2009 16:58:33 +0000 (16:58 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 12 Jul 2009 16:58:33 +0000 (16:58 +0000)
I knew it had to be impossible to change two lines without breaking
something.  :)

includes/OutputPage.php

index 3eabf63..f1647a6 100644 (file)
@@ -1562,7 +1562,7 @@ class OutputPage {
                }
 
                if ( $wgHtml5 ) {
-                       $ret .= '<!doctype html>';
+                       $ret .= "<!doctype html>\n";
                } else {
                        $ret .= "<!DOCTYPE html PUBLIC \"$wgDocType\" \"$wgDTD\">\n";
                }