X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-bootstrap-debug.js;h=3baeece166d75f37eae43ff4ff0cab16243875da;hp=ab68deea34e456bc05d35a9e5c1bcd2c07a846d6;hb=417e802b7d558bc5e6fff76ffd42e5b93057a977;hpb=ddf169c7ca4db76155946e3d42addd22f8720e3b diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index ab68deea34..3baeece166 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -23025,15 +23025,9 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { var remove_keep_children= Roo.HtmlEditorCore.remove.indexOf(node.tagName.toLowerCase()) > -1; - - if (!node.attributes || !node.attributes.length) { - - if (lcname == 'span' //&& - //node.childNodes.length == 1 && - //node.childNodes[0].nodeName.toLowerCase() == 'span' - ) { - remove_keep_children = true; - } + // spans with no attributes - just remove them.. + if ((!node.attributes || !node.attributes.length) && lcname == 'span') { + remove_keep_children = true; } // remove as rendering on yahoo mailer is borked with this.