Runs initial formatting to setup for compression
Parameters
(string) css: CSS Contents:
1 call to CSSCompression_Trim::strip()
- CSSCompression_Trim::trim in advagg_css_compress/
css-compressor-3.x/ src/ lib/ Trim.inc - Central trim handler
File
-
advagg_css_compress/
css-compressor-3.x/ src/ lib/ Trim.inc, line 191
Class
- CSSCompression_Trim
- CSS Compressor [VERSION] [DATE] Corey Hart @ http://www.codenothing.com
Code
private function strip($css) {
// Run replacements
return trim(preg_replace($this->trimmings['patterns'], $this->trimmings['replacements'], $css));
}