Ignore:
Timestamp:
2007/07/18 10:17:57 (17 years ago)
Author:
adati
Message:

relブランチのマージ(r12156-r15055)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/beta/data/smarty_extends/modifier.script_escape.php

    r14676 r15056  
    88function smarty_modifier_script_escape($value) { 
    99     
    10     if (is_array($value)) {return $value;} 
     10    if (is_array($value)) return $value; 
    1111     
    12     $pattern = "/<script.*?>|<\/script>/"; 
     12    $pattern = "/<script.*?>|<\/script>|javascript:/"; 
    1313    $convert = "#script tag escaped#"; 
    1414     
Note: See TracChangeset for help on using the changeset viewer.