X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FOutputPage.php;h=67e9a4ff82b922d79e948bdd166fcc429aa58046;hb=debe691b63e4ceb6533020a3a96697a8b7debec7;hp=6949f8b92c20fbc46417c4a001b126e70e351f04;hpb=e464eff3a4a78652bd8bcb8111f296d738d53b79;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 6949f8b92c..67e9a4ff82 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -460,7 +460,7 @@ class OutputPage extends ContextSource { * @param string $script Raw HTML */ function addScript( $script ) { - $this->mScripts .= $script . "\n"; + $this->mScripts .= $script; } /** @@ -516,7 +516,7 @@ class OutputPage extends ContextSource { * @param string $script JavaScript text, no "