1 --- # Syntaxe des raccourcis SPIP, version 0.0.1
3 # Si on nomme une regle, elle devient surchargeable
7 match: "{<script.*?($|</script.)}isS"
12 replace: htmlspecialchars
20 replace: "<code class=\"echappe-js\">$0</code>"
24 match: "{<iframe.*?($|</iframe.)}isS"
26 replace: echappe_anti_xss
30 match: "{<embed.*?($|</embed.)}isS"
32 replace: echappe_anti_xss
36 match: "{<object.*?($|</object.)}isS"
38 replace: echappe_anti_xss
42 match: "{<img.*?($|>)}isS"
44 replace: echappe_anti_xss
48 match: "{<image.*?($|>)}isS"
50 replace: echappe_anti_xss
54 match: "{<body.*?($|>)}isS"
56 replace: echappe_anti_xss
60 match: "{<bgsound.*?($|>)}isS"
62 replace: echappe_anti_xss
66 match: "{<meta.*?($|>)}isS"
68 replace: echappe_anti_xss