diff options
author | Urban Müller | 2011-06-07 16:16:06 +0000 |
---|---|---|
committer | Urban Müller | 2011-06-07 16:16:06 +0000 |
commit | 53f73c542ed4fd6a3ee4d3783d1e10723360e17c (patch) | |
tree | b3978737a419a4e5fee33c5d669e74c0e81d4d36 | |
parent | 854b10224fb8735c6fc85bc426aa223faedb2b2f (diff) | |
download | itools-53f73c542ed4fd6a3ee4d3783d1e10723360e17c.tar.gz itools-53f73c542ed4fd6a3ee4d3783d1e10723360e17c.tar.bz2 itools-53f73c542ed4fd6a3ee4d3783d1e10723360e17c.zip |
suppress behavor: for w3c
-rw-r--r-- | itjs.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ else if (it::match('\.css', $_SERVER['PHP_SELF'])) if (!it::match('^devel', $GLOBALS['ULTRASERVERTYPE'])) $data = it::replace(array('[ \t]*([{};])[ \t]*' => '$1', '/\*.*?\*/' => ""), $data); if (it::match('W3C_CSS_Validator', $_SERVER['HTTP_USER_AGENT'])) - $data = it::replace(array('background[^;}]*gradient[^;}]*;?' => "", '(filter:\s*progid|text-overflow:|zoom:|-webkit|display:-moz-|-moz-|-o-|cursor:|border-radius:|\w+:expression)[^;}]*;?' => "", 'html\.ie6.*' => "", '([^/])\*(\w)' => '$1$2'), $data); + $data = it::replace(array('background[^;}]*gradient[^;}]*;?' => "", '(filter:\s*progid|text-overflow:|zoom:|-webkit|display:-moz-|-moz-|-o-|cursor:|border-radius:|behavior:|\w+:expression)[^;}]*;?' => "", 'html\.ie6.*' => "", '([^/])\*(\w)' => '$1$2'), $data); } else if (!it::match('\.html$', $file)) { |