AlkantarClanX12

Your IP : 3.144.100.252


Current Path : /home/thanudqk/128shen.com/wp-content/plugins/w3-total-cache/lib/Minify/Minify/Inline/
Upload File :
Current File : /home/thanudqk/128shen.com/wp-content/plugins/w3-total-cache/lib/Minify/Minify/Inline/CSS.php

<?php
namespace W3TCL\Minify;

if (!defined('W3TC')) {
    die();
}

class Minify_Inline_CSS extends Minify_Inline {
    public static function minify($content, $minifier, $options = array()) {
        $inline = new self;
        $inline->setTag('style');
        $inline->setMinifier($minifier);
        $inline->setMinifierOptions($options);

        $content = $inline->doMinify($content);

        return $content;
    }

    protected function _process($openTag, $content, $closeTag) {
        $content = preg_replace('/(?:^\\s*<!--|-->\\s*$)/', '', $content);

        return parent::_process($openTag, $content, $closeTag);
    }
}