/**
* @class Roo.htmleditor.Tidy
* Tidy HTML
- * @cfg {Roo.HtmlEditorCore} core the editor.
+ *
* @constructor
* Create a new Filter.
* @param {Object} config Configuration options
Roo.htmleditor.Tidy.prototype = {
+ /**
+ *
+ * @cfg {Roo.HtmlEditorCore} core the editor.
+ */
+ core : false,
-
-
+
tidy : function(node, indent) {
-
+ var ser = new Roo.htmleditor.TidySerializer({
+ indent : 2,
+ });
+ return ser.serialize(node);
}