Changeset 450
- Timestamp:
- 01/18/06 22:59:02 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/htmlarea.js
r449 r450 2311 2311 node.style.cssText = declarations.join("; "); 2312 2312 } 2313 function stripTag(el) { 2314 if (HTMLArea.is_ie) 2313 if (HTMLArea.is_ie) 2314 { 2315 function stripTag(el) 2316 { 2315 2317 el.outerHTML = HTMLArea.htmlEncode(el.innerText); 2316 else { 2318 ++stats.mso_xmlel; 2319 } 2320 } 2321 else 2322 { 2323 function stripTag(el) 2324 { 2317 2325 var txt = document.createTextNode(HTMLArea.getInnerText(el)); 2318 2326 el.parentNode.insertBefore(txt, el); 2319 2327 HTMLArea.removeFromParent(el); 2320 }2321 ++stats.mso_xmlel;2328 ++stats.mso_xmlel; 2329 } 2322 2330 } 2323 2331 function checkEmpty(el) {
Note: See TracChangeset
for help on using the changeset viewer.