Changeset 1168 for trunk/plugins


Ignore:
Timestamp:
02/17/09 21:04:53 (11 years ago)
Author:
ray
Message:

#1390 PreserveScripts? shorthand php tags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/PreserveScripts/PreserveScripts.js

    r1067 r1168  
    3232        this.storage = {}; //empty the cache 
    3333        var i = 1; 
    34         html = html.replace(/\n?<\?php(\s|[^\s])*?\?>\n?/ig, 
     34        html = html.replace(/\n?<\?(php)?(\s|[^\s])*?\?>\n?/ig, 
    3535                function(m) 
    3636                { 
Note: See TracChangeset for help on using the changeset viewer.