From e9224331a48b13433b8b0beeb856f0eb0242fa87 Mon Sep 17 00:00:00 2001
From: Christian Schneider
Date: Tue, 4 Oct 2011 08:38:08 +0000
Subject: Hide filter:none from W3C css validator

---
 itjs.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/itjs.php b/itjs.php
index 26f01ab..f656e19 100644
--- a/itjs.php
+++ b/itjs.php
@@ -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))
 {
-- 
cgit v1.2.3