From: Timo Tijhof Date: Thu, 21 Jul 2016 19:55:04 +0000 (+0100) Subject: OutputPage: Fix blank line between and X-Git-Tag: 1.31.0-rc.0~6304^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/?a=commitdiff_plain;h=f47d1eee0e17769f40360e4052a254db99fc35d5;p=lhc%2Fweb%2Fwiklou.git OutputPage: Fix blank line between and Follows-up a464d1d41 which changed OutputPage::headElement() to join pieces by a line break instead of hardcoding line breaks after (some) generated pieces. This caused a minor regression in the form of a blank line between and on every page, because I missed the one that came from this class. Change-Id: I5e48b852809699b205f4581c833605f3e232610a --- diff --git a/includes/Html.php b/includes/Html.php index a5567fc043..7cb75bba91 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 f8dc8ee57f..62fe7852b7 100644 --- a/includes/installer/WebInstallerOutput.php +++ b/includes/installer/WebInstallerOutput.php @@ -267,6 +267,7 @@ class WebInstallerOutput { } ?> getHeadAttribs() ); ?> +