summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}