From 6c5992da5cf3579a29079b0aae3e9ba0700fda5c Mon Sep 17 00:00:00 2001 From: "Thor (atiredmachine)" Date: Thu, 26 Jan 2012 18:45:57 -0800 Subject: Removed javascript for now... --- system/core/Output.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'system/core/Output.php') diff --git a/system/core/Output.php b/system/core/Output.php index c4eba30bb..d8c230968 100755 --- a/system/core/Output.php +++ b/system/core/Output.php @@ -670,11 +670,11 @@ class CI_Output { case 'text/javascript': - // Replace multiple spaces with a single newline. - $output = preg_replace('!\s{2,}!',"\n", $output); + // Replace multiple whitespace characters with a single newline. + //$output = preg_replace('!\s{2,}!',"\n", $output); // Remove excessive newlines. - $output = preg_replace('!(;|{|})\n!','$1', $output); + //$output = preg_replace('!(;|{|})\n!','$1', $output); break; } -- cgit v1.2.3-24-g4f1b