From 804d0b7d74c87fc5dd76173a7d979b67d3e1a585 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Tue, 9 Jun 2009 12:34:09 +0000 Subject: [PATCH] added tabs and new lines for better source readability --- includes/OutputPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 37b1b441c6..d0644a7d18 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -93,7 +93,7 @@ class OutputPage { array_push( $this->mKeywords, $text ); } } - function addScript( $script ) { $this->mScripts .= "\t\t".$script; } + function addScript( $script ) { $this->mScripts .= "\t\t" . $script . "\n"; } function addExtensionStyle( $url ) { $linkarr = array( 'rel' => 'stylesheet', 'href' => $url, 'type' => 'text/css' ); @@ -128,7 +128,7 @@ class OutputPage { */ function addInlineScript( $script ) { global $wgJsMimeType; - $this->mScripts .= ""; + $this->mScripts .= "\t\t\n"; } function getScript() { -- 2.20.1