diff options
-rw-r--r-- | system/core/Output.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/system/core/Output.php b/system/core/Output.php index 8f4690052..06d7a866b 100644 --- a/system/core/Output.php +++ b/system/core/Output.php @@ -854,12 +854,12 @@ class CI_Output { $chunks = preg_split('/([\'|"]).+(?![^\\\]\\1)\\1/iU', $output, -1, PREG_SPLIT_OFFSET_CAPTURE); for ($i = count($chunks) - 1; $i >= 0; $i--) { - $output = substr_replace( - $output, - preg_replace('/\s*(:|;|,|}|{|\(|\))\s*/i', '$1', $chunks[$i][0]), - $chunks[$i][1], - strlen($chunks[$i][0]) - ); + $output = substr_replace( + $output, + preg_replace('/\s*(:|;|,|}|{|\(|\))\s*/i', '$1', $chunks[$i][0]), + $chunks[$i][1], + strlen($chunks[$i][0]) + ); } // Replace tabs with spaces |