summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2015-07-29 14:11:13 +0200
committerUrban Müller2015-07-29 14:11:13 +0200
commita2a307759dd54d69130184f85b7a9c1c96793b28 (patch)
tree32ef34120a63a0638286e68ea2aed8d600aa93f4
parent021f96f2703983b9204147aa6ea107459bb5222e (diff)
downloaditools-a2a307759dd54d69130184f85b7a9c1c96793b28.tar.gz
itools-a2a307759dd54d69130184f85b7a9c1c96793b28.tar.bz2
itools-a2a307759dd54d69130184f85b7a9c1c96793b28.zip
whitelist content:attr(placeholder), universally supported
-rw-r--r--itjs.php1
1 files changed, 1 insertions, 0 deletions
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
);