diff options
author | Christian Schneider | 2011-10-04 08:38:08 +0000 |
---|---|---|
committer | Christian Schneider | 2011-10-04 08:38:08 +0000 |
commit | e9224331a48b13433b8b0beeb856f0eb0242fa87 (patch) | |
tree | bf7e1c8049390be24b42b45312014668fe4e5a3e | |
parent | 8c2af30bee2335786f13f5420e4e42f7fcdfcbc9 (diff) | |
download | itools-e9224331a48b13433b8b0beeb856f0eb0242fa87.tar.gz itools-e9224331a48b13433b8b0beeb856f0eb0242fa87.tar.bz2 itools-e9224331a48b13433b8b0beeb856f0eb0242fa87.zip |
Hide filter:none from W3C css validator
-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']) || EDC('w3c')) - $data = it::replace(array('background[^;}]*(gradient|rgba)[^;}]*;?' => "", '(filter:\s*progid|text-overflow:|zoom:|-webkit-|display:-moz-|-moz-|-o-|cursor:|border-radius:|behavior:|\w+:expression)[^;}]*;?' => "", 'html\.ie6.*' => "", '([^/])\*(\w)' => '$1$2'), $data); + $data = it::replace(array('background[^;}]*(gradient|rgba)[^;}]*;?' => "", '(filter:\s*(progid|none)|text-overflow:|zoom:|-webkit-|display:-moz-|-moz-|-o-|cursor:|border-radius:|behavior:|\w+:expression)[^;}]*;?' => "", 'html\.ie6.*' => "", '([^/])\*(\w)' => '$1$2'), $data); } else if (it::match('\.htc$', $file)) { |