Changeset 1073
- Timestamp:
- 10/08/08 16:47:42 (2 months ago)
- Files:
-
- 1 modified
-
trunk/XinhaCore.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/XinhaCore.js
r1072 r1073 3771 3771 // @todo : check if this is quicker 3772 3772 // if (!['A','SPAN','B','STRONG','I','EM','FONT'].contains(el.tagName) && !el.firstChild) 3773 if ( /^( span|b|strong|i|em|font|div|p)$/i.test(el.tagName) && !el.firstChild)3773 if ( /^(a|span|b|strong|i|em|font|div|p)$/i.test(el.tagName) && !el.firstChild) 3774 3774 { 3775 3775 Xinha.removeFromParent(el);
