X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-all.js;fp=roojs-all.js;h=9c448c7c7a62ba37210137af42415e34a7a8443b;hb=79dceb4db132cf65b29faaf2cc5d6bc7b8267d4e;hp=14ebbe5227b66ad701232938674507702bc4af54;hpb=10f9d134e94f565e2adb3f66b95d9ba764cbea87;p=roojs1 diff --git a/roojs-all.js b/roojs-all.js index 14ebbe5227..9c448c7c7a 100644 --- a/roojs-all.js +++ b/roojs-all.js @@ -1897,7 +1897,7 @@ Roo.htmleditor={}; Roo.htmleditor.Filter=function(A){Roo.apply(this.cfg);};Roo.htmleditor.Filter.prototype={node:false,tag:false,replaceComment:false,replaceTag:false,walk:function(A){Roo.each(Array.from(A.childNodes),function(e){switch(true){case e.nodeType==8&&this.replaceComment!==false:this.replaceComment(e); return;case e.nodeType!=1:return;case this.tag===true:case e.tagName.indexOf(":")>-1&&typeof(this.tag)=='object'&&this.tag.indexOf(":")>-1:case e.tagName.indexOf(":")>-1&&typeof(this.tag)=='string'&&this.tag==":":case typeof(this.tag)=='object'&&this.tag.indexOf(e.tagName)>-1:case typeof(this.tag)=='string'&&this.tag==e.tagName:if(this.replaceTag&&false===this.replaceTag(e)){return; }if(e.hasChildNodes()){this.walk(e);}return;default:if(e.hasChildNodes()){this.walk(e);}}},this);},removeNodeKeepChildren:function(A){ar=Array.from(A.childNodes);for(var i=0;i