From 2aa4bcbff33fcb4e85aed50884012ffd1c812108 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 18 Feb 2022 15:24:07 +0100 Subject: calc() exception no longer necessary, parse causes false pos --- itjs.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/itjs.php b/itjs.php index ed0fe3f..fe39f6d 100644 --- a/itjs.php +++ b/itjs.php @@ -60,8 +60,7 @@ else if (it::match('\.css', $lastfile)) 'svg\..*' => "", # ignore svg styles '\battr\(.*?\)' => "'x'", # ignore content:attr(placeholder) '\benv\(.*?\)' => "0", # ignore env(), e.g. env(safe-area-inset-left) for iPhone X - '\bmax\(.*?\)' => "0", # ignore env(), e.g. env(safe-area-inset-left) for iPhone X - '\bcalc\(.*?\)' => "0", # ignore calc() + '\bmax\(.*?\)' => "0", '\bbackground-position-[xy]' => "background-position", ), $data -- cgit v1.2.3