From a2ae6e1e917b1d8f4aabb121143184135a42c80a Mon Sep 17 00:00:00 2001 From: "Thor (atiredmachine)" Date: Tue, 24 Jan 2012 20:57:48 -0800 Subject: Tidying --- system/core/Output.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'system') diff --git a/system/core/Output.php b/system/core/Output.php index 8ed418a69..57d07ca7b 100755 --- a/system/core/Output.php +++ b/system/core/Output.php @@ -597,10 +597,10 @@ class CI_Output { $output = str_replace($s, $this->minify($s,'css'), $output); } - // Replaces multiple spaces with a single space. + // Replace multiple spaces with a single space. $output = preg_replace('!\s{2,}!',"\n",$output); - // Removes spaces around block-level elements. + // Remove spaces around block-level elements. $output = preg_replace('{\s*()\s*}', '$1', $output); // Replace mangled
 etc. tags with unprocessed ones.
@@ -616,7 +616,7 @@ class CI_Output {
 			
 			case 'css':
 			
-				// Remove spaces around curly brackets
+				// Remove spaces around curly brackets, colons, and semi-colons
 				$output = preg_replace('!\s*(:|;|}|{)\s*!','$1',$output);
 				
 				// Replace spaces with line breaks to limit line lengths
-- 
cgit v1.2.3-24-g4f1b