replaceTag : function(node)
{
// walk children...
- //Roo.log(node);
+ Roo.log(node.tagName);
var ar = Array.from(node.childNodes);
//remove first..
|| // array and it matches
(typeof(this.tag) == 'string' && this.tag == ar[i].tagName)
||
- this.cleanNameSpace && ar[i].tagName.match(/:/)
+ (e.tagName.indexOf(":") > -1 && typeof(this.tag) == 'object' && this.tag.indexOf(":") > -1)
+ ||
+ (e.tagName.indexOf(":") > -1 && typeof(this.tag) == 'string' && this.tag == ":")
) {
this.replaceTag(ar[i]); // child is blacklisted as well...
continue;
}
}
+ Roo.log("REMOVE:" + node.tagName);
node.parentNode.removeChild(node);
return false; // don't walk children