OutputPage: Add \n between </style> and <script>
authorFomafix <fomafix@googlemail.com>
Sat, 1 Aug 2015 12:24:45 +0000 (12:24 +0000)
committer[[mw:User:Fomafix]] <gerritpatchuploader@gmail.com>
Sat, 1 Aug 2015 12:24:45 +0000 (12:24 +0000)
The ResourceLoader does not add a newline anymore.

Change-Id: Idfdbd0a8836ab2ec7abef1530ca883fb6d618eb4

includes/OutputPage.php

index c972045..8488395 100644 (file)
@@ -2702,8 +2702,7 @@ class OutputPage extends ContextSource {
                        $ret .= $item . "\n";
                }
 
-               // No newline after buildCssLinks since makeResourceLoaderLink did that already
-               $ret .= $this->buildCssLinks();
+               $ret .= $this->buildCssLinks() . "\n";
 
                $ret .= $this->getHeadScripts() . "\n";