From 9e45485779b333d568e2db425f6ed028872604ac Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Mon, 21 Mar 2016 14:54:50 +0100 Subject: validator does not accept calc() yet --- itjs.php | 1 + 1 file changed, 1 insertion(+) (limited to 'itjs.php') diff --git a/itjs.php b/itjs.php index a1e5a0f..7c8998e 100644 --- a/itjs.php +++ b/itjs.php @@ -56,6 +56,7 @@ else if (it::match('\.css', $file)) '([^/])\*(\w)' => '$1$2', 'svg\..*' => "", # ignore svg styles '\battr\(.*?\)' => "'x'", # ignore content:attr(placeholder) + '\bcalc\(.*?\)' => "0", # ignore calc() ), $data ); -- cgit v1.2.3