Roo/htmleditor/TidySerializer.js
authorAlan <alan@roojs.com>
Thu, 6 Jan 2022 09:13:31 +0000 (17:13 +0800)
committerAlan <alan@roojs.com>
Thu, 6 Jan 2022 09:13:31 +0000 (17:13 +0800)
Roo/htmleditor/TidySerializer.js

index 641db7a..5b8be83 100644 (file)
@@ -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();
         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);
         var name, isEmpty, attrs, attrName, attrValue, sortedAttrs, i, l, elementRule, handler = handlers[node.type];
         if (handler) {
             handler(node);