diff --git a/includes/common.inc b/includes/common.inc index e29627bac9f870b17a742443ddea96f695e17c97..f72a826ebe61a54e39e4bec39293efbe56e7b7a8 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -2009,8 +2009,7 @@ function drupal_load_stylesheet($file, $optimize = NULL) { // 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. + /\*([^*\\\\]|\*(?!/))+\*/ # Remove comments that are not CSS hacks. >x', '\1', $contents); }