diff --git a/library/Icinga/Web/JavaScript.php b/library/Icinga/Web/JavaScript.php index e6278c72f..76c25def8 100644 --- a/library/Icinga/Web/JavaScript.php +++ b/library/Icinga/Web/JavaScript.php @@ -117,7 +117,7 @@ class JavaScript // We do not minify vendor files foreach ($vendorFiles as $file) { - $out .= file_get_contents($file); + $out .= ';' . ltrim(trim(file_get_contents($file)), ';') . "\n"; } foreach ($jsFiles as $file) {