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