projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
915de16
)
Roo/htmleditor/TidySerializer.js
author
Alan
<alan@roojs.com>
Thu, 6 Jan 2022 09:18:39 +0000
(17:18 +0800)
committer
Alan
<alan@roojs.com>
Thu, 6 Jan 2022 09:18:39 +0000
(17:18 +0800)
Roo/htmleditor/TidySerializer.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/TidySerializer.js
b/Roo/htmleditor/TidySerializer.js
index
36ad4fa
..
60bce12
100644
(file)
--- a/
Roo/htmleditor/TidySerializer.js
+++ b/
Roo/htmleditor/TidySerializer.js
@@
-27,7
+27,7
@@
Roo.apply(Roo.htmleditor.TidySerializer.prototype, {
*/
inner : false,
- writer : false
;
+ writer : false
,
/**
* Serializes the specified node into a string.
@@
-137,17
+137,15
@@
Roo.apply(Roo.htmleditor.TidySerializer.prototype, {
writer.end(name);
return;
}
-
- do {
- walk(node);
- } while (node = node.next);
- }
- writer.end(name);
+ while (node) {
+ walk(node);
+ node = node.nextNode;
}
- }
+ writer.end(name);
+
+
}
// Serialize element and treat all non elements as fragments
-};
-};
+});