- Timestamp:
- 2007/07/18 10:17:57 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/beta/data/smarty_extends/modifier.script_escape.php
r14676 r15056 8 8 function smarty_modifier_script_escape($value) { 9 9 10 if (is_array($value)) {return $value;}10 if (is_array($value)) return $value; 11 11 12 $pattern = "/<script.*?>|<\/script> /";12 $pattern = "/<script.*?>|<\/script>|javascript:/"; 13 13 $convert = "#script tag escaped#"; 14 14
Note: See TracChangeset
for help on using the changeset viewer.