projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
51a4628
)
Roo/htmleditor/TidySerializer.js
author
Alan
<alan@roojs.com>
Thu, 6 Jan 2022 09:13:12 +0000
(17:13 +0800)
committer
Alan
<alan@roojs.com>
Thu, 6 Jan 2022 09:13:12 +0000
(17:13 +0800)
Roo/htmleditor/TidySerializer.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/TidySerializer.js
b/Roo/htmleditor/TidySerializer.js
index
7a33b3d
..
641db7a
100644
(file)
--- a/
Roo/htmleditor/TidySerializer.js
+++ b/
Roo/htmleditor/TidySerializer.js
@@
-40,6
+40,7
@@
Roo.apply(Roo.htmleditor.TidySerializer.prototype, {
// = settings.validate;
var writer = this.writer;
+ var walk = this.walk;
this.handlers = {
// #text
3: function(node) {
@@
-75,7
+76,8
@@
Roo.apply(Roo.htmleditor.TidySerializer.prototype, {
};
writer.reset();
1 != node.nodeType || this.inner ? handlers[11](node) : walk(node);
- return writer.getContent();
+ return writer.getContent();
+ }
function walk(node) {
var name, isEmpty, attrs, attrName, attrValue, sortedAttrs, i, l, elementRule, handler = handlers[node.type];