/[drupal]/drupal/includes/common.inc
ViewVC logotype

Diff of /drupal/includes/common.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.756.2.72, Tue Oct 6 12:03:11 2009 UTC revision 1.756.2.73, Fri Nov 6 08:34:58 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: common.inc,v 1.756.2.71 2009/09/23 09:09:29 goba Exp $  // $Id: common.inc,v 1.756.2.72 2009/10/06 12:03:11 goba Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 2009  function drupal_load_stylesheet($file, $ Line 2009  function drupal_load_stylesheet($file, $
2009        // Perform some safe CSS optimizations.        // Perform some safe CSS optimizations.
2010        $contents = preg_replace('<        $contents = preg_replace('<
2011          \s*([@{}:;,]|\)\s|\s\()\s* |  # Remove whitespace around separators, but keep space around parentheses.          \s*([@{}:;,]|\)\s|\s\()\s* |  # Remove whitespace around separators, but keep space around parentheses.
2012          /\*([^*\\\\]|\*(?!/))+\*/ |   # Remove comments that are not CSS hacks.          /\*([^*\\\\]|\*(?!/))+\*/     # Remove comments that are not CSS hacks.
         [\n\r]                        # Remove line breaks.  
2013          >x', '\1', $contents);          >x', '\1', $contents);
2014      }      }
2015    

Legend:
Removed from v.1.756.2.72  
changed lines
  Added in v.1.756.2.73

  ViewVC Help
Powered by ViewVC 1.1.2