projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2c4886
)
Roo/htmleditor/FilterEmpty.js
author
leon
<leon@roojs.com>
Mon, 26 Feb 2024 08:54:08 +0000
(16:54 +0800)
committer
leon
<leon@roojs.com>
Mon, 26 Feb 2024 08:54:08 +0000
(16:54 +0800)
Roo/htmleditor/FilterEmpty.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/FilterEmpty.js
b/Roo/htmleditor/FilterEmpty.js
index
4e66f65
..
8da55d2
100644
(file)
--- a/
Roo/htmleditor/FilterEmpty.js
+++ b/
Roo/htmleditor/FilterEmpty.js
@@
-29,10
+29,10
@@
Roo.extend(Roo.htmleditor.FilterEmpty, Roo.htmleditor.FilterBlack,
}
if (node.innerHTML.trim() != '') {
- return
tru
e;
+ return
fals
e;
}
if (node.attributes && node.attributes.length > 0) {
- return
tru
e; // walk if there are any.
+ return
fals
e; // walk if there are any.
}
Roo.htmleditor.FilterBlack.prototype.replaceTag.call(this, node);
return false;