Changeset 21514 for branches/version-2_12-dev/data/smarty_extends
- Timestamp:
- 2012/02/15 19:56:17 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/smarty_extends/modifier.script_escape.php
r21442 r21514 11 11 12 12 $pattern = "/<script.*?>|<\/script>|javascript:/i"; 13 $convert = "#script tag escaped#";13 $convert = '#script tag escaped#'; 14 14 15 15 if (preg_match_all($pattern, $value, $matches)) {
Note: See TracChangeset
for help on using the changeset viewer.