Changeset 1043
- Timestamp:
- 10/02/08 14:20:01 (11 years ago)
- File:
-
- 1 edited
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;
Note: See TracChangeset
for help on using the changeset viewer.