Changeset 816
- Timestamp:
- 04/17/07 16:06:18 (6 years ago)
- Files:
-
- 1 modified
-
trunk/modules/InternetExplorer/InternetExplorer.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/InternetExplorer/InternetExplorer.js
r794 r816 143 143 // Xinha will present del externally (see Xinha.prototype.outwardHtml 144 144 html = html.replace(/<(\/?)del(\s|>|\/)/ig, "<$1strike$2"); 145 // ie eats scripts and comments at beginning of page, so 146 // make sure there is something before the first script on the page 147 html = html.replace(/( )?([\s\S]*?)(<script|<!--)/i,"$2 $3"); 148 149 return html; 150 } 151 152 InternetExplorer.prototype.outwardHtml = function(html) 153 { 154 // remove space added before first script on the page 155 html = html.replace(/ (\s*)(<script|<!--)/i,"$1$2"); 145 156 146 157 return html;
