summaryrefslogtreecommitdiffstats
path: root/system/core/Output.php
diff options
context:
space:
mode:
authorThor (atiredmachine) <thor@bandwidthbeta.com>2012-01-27 03:45:57 +0100
committerThor (atiredmachine) <thor@bandwidthbeta.com>2012-01-27 03:45:57 +0100
commit6c5992da5cf3579a29079b0aae3e9ba0700fda5c (patch)
treea1e7d3be01f48dc32be98f0f8a7be24049b85e3e /system/core/Output.php
parent5c078ceeb926119fc3b4e55ca7c33ff2d1a207cd (diff)
Removed javascript for now...
Diffstat (limited to 'system/core/Output.php')
-rwxr-xr-xsystem/core/Output.php6
1 files changed, 3 insertions, 3 deletions
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;
}