From 17582ec6bab09e9d9faf53a93d22ecb4fbf2bb47 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sun, 5 Jun 2011 10:21:08 +0200 Subject: Add a newline when loading JavaScript files This avoids problems when the files are concatenated later. --- lib/exe/js.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/exe/js.php') diff --git a/lib/exe/js.php b/lib/exe/js.php index a3efff700..5ef3b5801 100644 --- a/lib/exe/js.php +++ b/lib/exe/js.php @@ -185,7 +185,7 @@ function js_load($file){ } $data = str_replace($match[0],$idata,$data); } - echo $data; + echo "$data\n"; } /** -- cgit v1.2.3