projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff46d00
)
Roo/HtmlEditorCore.js
author
Alan Knowles
<alan@roojs.com>
Tue, 17 Mar 2015 08:49:09 +0000
(16:49 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 17 Mar 2015 08:49:09 +0000
(16:49 +0800)
Roo/HtmlEditorCore.js
patch
|
blob
|
history
diff --git
a/Roo/HtmlEditorCore.js
b/Roo/HtmlEditorCore.js
index
0e47cab
..
017fda0
100644
(file)
--- a/
Roo/HtmlEditorCore.js
+++ b/
Roo/HtmlEditorCore.js
@@
-1008,8
+1008,11
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
// clean up silly Windows -- stuff?
return;
}
+ var lcname = node.tagName.toLowerCase();
+ // we ignore whitelists... ?? = not really the way to go, but we probably have not got a full
+ // whitelist of tags..
- if (this.black.indexOf(
node.tagName.toLowerCase()) > -1 && this.clearUp
) {
+ if (this.black.indexOf(
lcname) > -1 && this.clearUp
) {
// remove node.
node.parentNode.removeChild(node);
return;