- Timestamp:
- 2007/06/07 21:46:59 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/beta/data/smarty_extends/modifier.script_escape.php
r14392 r14465 9 9 function smarty_modifier_script_escape($value) { 10 10 11 if (empty($value)) { return; } 12 11 13 return preg_replace("/<script.*?>|<\/script>/", '<script>', $value); 12 13 14 } 14 15 ?>
Note: See TracChangeset
for help on using the changeset viewer.