Changeset 1266


Ignore:
Timestamp:
06/10/10 17:53:17 (9 years ago)
Author:
wymsy
Message:

Extend freezescript to apply to plain script tags. Ticket #1525

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XinhaCore.js

    r1263 r1266  
    57375737  html = this.inwardSpecialReplacements(html); 
    57385738 
     5739  html = html.replace(/(<script)(?![^>]*((type=[\"\']text\/)|(language=[\"\']))javascript[\"\'])/gi,'$1 type="text/javascript"'); 
    57395740  html = html.replace(/(<script[^>]*((type=[\"\']text\/)|(language=[\"\'])))(javascript)/gi,"$1freezescript"); 
    57405741 
Note: See TracChangeset for help on using the changeset viewer.