X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-bootstrap-debug.js;fp=roojs-bootstrap-debug.js;h=6aadce840d2e8be5790db854cb24c26b3107990c;hp=2a1b23d30b108049247cfe52bbb4fa875b264c1a;hb=eba01c66153e854d0fa947f82e3b2402f6683feb;hpb=96a2dcc293658ca410a23a5c6304ffd2761a4169 diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index 2a1b23d30b..6aadce840d 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -23025,6 +23025,17 @@ 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; + } + } + // remove as rendering on yahoo mailer is borked with this. // this will have to be flaged elsewhere - perhaps ablack=name... on the mailer.. @@ -23045,6 +23056,10 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { } if (!node.attributes || !node.attributes.length) { + + + + this.cleanUpChildren(node); return; }