1234567891011121314151617181920212223242526272829303132 |
- --- # Syntaxe des raccourcis SPIP, version 0.0.1
- #
- # Si on nomme une regle, elle devient surchargeable
- securite-asp:
- type: str
- match: "<%"
- replace: "<%"
- securite-php:
- type: str
- match: "<?"
- replace: "<?"
- securite-script-php:
- if_str: "<script"
- type: preg
- match: "/<(script\b[^>]+\blanguage\b[^\w>]+php\b)/UimsS"
- replace: "<$1"
- securite-js:
- if_str: "<script"
- type: all
- replace: "echappe_js"
- is_callback: Y
- securite-base:
- if_str: "<base"
- type: preg
- match: "/<base\b/iS"
- replace: "<base"
|