From 0949b36c3ebb10732223ddc890e1a41c015aa086 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Thu, 31 Oct 2013 16:07:40 +0200 Subject: Fix #2710 --- system/core/Output.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'system/core') diff --git a/system/core/Output.php b/system/core/Output.php index 05bc48ed4..5173f7ed8 100644 --- a/system/core/Output.php +++ b/system/core/Output.php @@ -839,7 +839,7 @@ class CI_Output { if ($type === 'js') { // Catch all string literals and comment blocks - if (preg_match_all('#((?:((? '', // Remove // line comments '#\s*([!\#%&()*+,\-./:;<=>?@\[\]^`{|}~])\s*#' => '$1', // Remove spaces following and preceeding JS-wise non-special & non-word characters '#\s{2,}#' => ' ' // Reduce the remaining multiple whitespace characters to a single space ); -- cgit v1.2.3-24-g4f1b