Open GoogleCodeExporter opened 9 years ago
line 3643 "/(^0\s0\s0\s0)|(^0\s0\s0$)|(^0\s0$)/iS" => "0"
just remove this line , it will be OK .
Original comment by colinv...@gmail.com
on 15 Nov 2012 at 6:29
Another solution is to replace the apply function in the
CssCompressUnitValuesMinifierPlugin with
/**
* Skip these properties processing
* @var array
*/
protected $propertiesToSkip = array
(
'background-position',
'background'
);
/**
* Implements {@link aCssMinifierPlugin::minify()}.
*
* @param aCssToken $token Token to process
* @return boolean Return TRUE to break the processing of this token; FALSE to continue
*/
public function apply(aCssToken &$token)
{
if (in_array(strtolower($token->Property), $this->propertiesToSkip)) return true;
if (preg_match($this->reMatch, $token->Value))
{
foreach ($this->re as $reMatch => $reReplace)
{
$token->Value = preg_replace($reMatch, $reReplace, $token->Value);
}
}
return false;
}
Original comment by daniel.r...@gmail.com
on 15 Oct 2013 at 4:13
Original issue reported on code.google.com by
colinv...@gmail.com
on 15 Nov 2012 at 6:14