Roo/htmleditor/Filter.js
authorleon <leon@roojs.com>
Tue, 3 May 2022 03:28:29 +0000 (11:28 +0800)
committerleon <leon@roojs.com>
Tue, 3 May 2022 03:28:29 +0000 (11:28 +0800)
Roo/htmleditor/Filter.js

index 2e270bd..411cd3c 100644 (file)
@@ -42,6 +42,8 @@ Roo.htmleditor.Filter.prototype = {
                     return;
                 
                 case this.tag === true: // everything
+                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: // array and it matches.
                 case typeof(this.tag) == 'string' && this.tag == e.tagName: // array and it matches.
                     if (this.replaceTag && false === this.replaceTag(e)) {