mirror of
https://github.com/mrclay/minify.git
synced 2025-08-16 02:54:33 +02:00
+ BMH and MSIE filters to css/hacks.css. Minify_CSS no longer minifies RGB colors in MSIE filters.
This commit is contained in:
@@ -126,8 +126,8 @@ class Minify_CSS {
|
||||
,array('Minify_CSS', '_selectorsCB'), $css);
|
||||
|
||||
// minimize hex colors
|
||||
$css = preg_replace('/#([a-f\\d])\\1([a-f\\d])\\2([a-f\\d])\\3([\\s;\\}])/i'
|
||||
, '#$1$2$3$4', $css);
|
||||
$css = preg_replace('/([^=])#([a-f\\d])\\2([a-f\\d])\\3([a-f\\d])\\4([\\s;\\}])/i'
|
||||
, '$1#$2$3$4$5', $css);
|
||||
|
||||
$rewrite = false;
|
||||
if (isset($options['prependRelativePath'])) {
|
||||
|
Reference in New Issue
Block a user