[SPIP][PLUGINS] v3.0-->v3.2
[lhc/web/www.git] / www / plugins-dist / textwheel / wheels / spip / interdire-scripts.yaml
index 790f34d..d809847 100644 (file)
@@ -19,7 +19,8 @@ securite-script-php:
   replace: "<$1"
 
 securite-js:
-  if_str: "<script"
+  if_str: "<"
+  if_match: "/<(?:script|iframe|embed|object|img|image|body|bgsound|meta)/iS"
   type: all
   replace: "echappe_js"
   is_callback: Y