Put line breaks after each element in OutputPage::headElement()
authorAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Thu, 6 Feb 2014 14:15:42 +0000 (15:15 +0100)
committerAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Thu, 6 Feb 2014 14:15:42 +0000 (15:15 +0100)
Change-Id: I4e7715a354e9d599fb2c77c09ac72a55462aaa5d

includes/OutputPage.php

index aff4b16..2b1d4a0 100644 (file)
@@ -2510,14 +2510,14 @@ $templates
                        // Our XML declaration is output by Html::htmlHeader.
                        // http://www.whatwg.org/html/semantics.html#attr-meta-http-equiv-content-type
                        // http://www.whatwg.org/html/semantics.html#charset
-                       $ret .= Html::element( 'meta', array( 'charset' => 'UTF-8' ) );
+                       $ret .= Html::element( 'meta', array( 'charset' => 'UTF-8' ) ) . "\n";
                }
 
                $ret .= Html::element( 'title', null, $this->getHTMLTitle() ) . "\n";
 
                // Avoid Internet Explorer "compatibility view", so that
                // jQuery can work correctly.
-               $ret .= Html::element( 'meta', array( 'http-equiv' => 'X-UA-Compatible', 'content' => 'IE=EDGE' ) );
+               $ret .= Html::element( 'meta', array( 'http-equiv' => 'X-UA-Compatible', 'content' => 'IE=EDGE' ) ) . "\n";
 
                $ret .= implode( "\n", array(
                        $this->getHeadLinks(),