Index: includes/common.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/common.inc,v retrieving revision 1.756.2.71 diff -u -p -r1.756.2.71 common.inc --- includes/common.inc 23 Sep 2009 09:09:29 -0000 1.756.2.71 +++ includes/common.inc 3 Oct 2009 22:09:41 -0000 @@ -2008,10 +2008,10 @@ function drupal_load_stylesheet($file, $ if ($_optimize) { // Perform some safe CSS optimizations. $contents = preg_replace('< - \s*([@{}:;,]|\)\s|\s\()\s* | # Remove whitespace around separators, but keep space around parentheses. - /\*([^*\\\\]|\*(?!/))+\*/ | # Remove comments that are not CSS hacks. - [\n\r] # Remove line breaks. - >x', '\1', $contents); + \s*([@{}:;,]|\)\s|\s\()\s* | # Remove whitespace around separators, but keep space around parentheses. + /\*[^*\\\\]*\*+([^/*][^*]*\*+)*/ | # Remove comments that are not CSS hacks. + [\n\r] # Remove line breaks. + >x', '\1', $contents); } // Change back directory.