From a2a307759dd54d69130184f85b7a9c1c96793b28 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Wed, 29 Jul 2015 14:11:13 +0200 Subject: whitelist content:attr(placeholder), universally supported --- itjs.php | 1 + 1 file changed, 1 insertion(+) diff --git a/itjs.php b/itjs.php index 88fe03f..332e0dc 100644 --- a/itjs.php +++ b/itjs.php @@ -60,6 +60,7 @@ else if (it::match('\.css', $file)) ':valid:' => ":", # hack for iOS datetime '([^/])\*(\w)' => '$1$2', 'svg\..*' => "", # ignore svg styles + '\battr\(.*?\)' => "'x'", # ignore content:attr(placeholder) ), $data ); -- cgit v1.2.3