projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Roo/htmleditor/FilterKeepChildren.js
[roojs1]
/
Roo
/
htmleditor
/
FilterKeepChildren.js
diff --git
a/Roo/htmleditor/FilterKeepChildren.js
b/Roo/htmleditor/FilterKeepChildren.js
index
ab7054d
..
14989b9
100644
(file)
--- a/
Roo/htmleditor/FilterKeepChildren.js
+++ b/
Roo/htmleditor/FilterKeepChildren.js
@@
-38,7
+38,9
@@
Roo.extend(Roo.htmleditor.FilterKeepChildren, Roo.htmleditor.FilterBlack,
|| // array and it matches
(typeof(this.tag) == 'string' && this.tag == ar[i].tagName)
||
|| // 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;
) {
this.replaceTag(ar[i]); // child is blacklisted as well...
continue;