Changeset 1043 for branches/new-dialogs/modules/InternetExplorer
- Timestamp:
- 10/02/08 09:20:01 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/new-dialogs/modules/InternetExplorer/InternetExplorer.js
r1042 r1043 150 150 // selections that may cause us to fill in junk span tags. We'll clean 151 151 // those here 152 html = html.replace(/<span[^>]+id="__InsertSpan_Workaround_[a-z]+".*?> <\/span>/i,"");152 html = html.replace(/<span[^>]+id="__InsertSpan_Workaround_[a-z]+".*?>([\s\S]*?)<\/span>/i,"$1"); 153 153 154 154 return html; … … 163 163 // selections that may cause us to fill in junk span tags. We'll clean 164 164 // those here 165 html = html.replace(/<span[^>]+id="__InsertSpan_Workaround_[a-z]+".*?> <\/span>/i,"");165 html = html.replace(/<span[^>]+id="__InsertSpan_Workaround_[a-z]+".*?>([\s\S]*?)<\/span>/i,"$1"); 166 166 167 167 return html; … … 517 517 for (var index=0; index<count; ++index) 518 518 { 519 result += Letters.substr(Math.floor(Math.random()* 26+ 1), 1);519 result += Letters.substr(Math.floor(Math.random()*Letters.length + 1), 1); 520 520 } 521 521 return result;
