diff --git a/includes/Html.php b/includes/Html.php index a5567fc043e..7cb75bba919 100644 --- a/includes/Html.php +++ b/includes/Html.php @@ -935,13 +935,7 @@ class Html { $attribs['version'] = $wgHtml5Version; } - $html = self::openElement( 'html', $attribs ); - - if ( $html ) { - $html .= "\n"; - } - - $ret .= $html; + $ret .= self::openElement( 'html', $attribs ); return $ret; } diff --git a/includes/installer/WebInstallerOutput.php b/includes/installer/WebInstallerOutput.php index f8dc8ee57fc..62fe7852b74 100644 --- a/includes/installer/WebInstallerOutput.php +++ b/includes/installer/WebInstallerOutput.php @@ -267,6 +267,7 @@ class WebInstallerOutput { } ?> getHeadAttribs() ); ?> +