Changeset 882


Ignore:
Timestamp:
08/31/07 20:25:16 (7 years ago)
Author:
wymsy
Message:

ticket #1068

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/GetHtml/TransformInnerHTML.js

    r856 r882  
    136136    s = s.replace(/^\s*/,'').//strip leading whitespace 
    137137        replace(/ +\n/g,'\n').//strip spaces at end of lines 
    138         replace(/[\r\n]+<\/script>/g,'\n</script>');//strip returns added into scripts 
     138        replace(/[\r\n]+(\s+)<\/script>/g,'\n$1</script>');//strip returns added into scripts 
    139139    return s; 
    140140}; 
Note: See TracChangeset for help on using the changeset viewer.