projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
062aeaf
)
Roo/htmleditor/Tidy.js
author
Alan
<alan@roojs.com>
Thu, 6 Jan 2022 09:25:21 +0000
(17:25 +0800)
committer
Alan
<alan@roojs.com>
Thu, 6 Jan 2022 09:25:21 +0000
(17:25 +0800)
Roo/htmleditor/Tidy.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/Tidy.js
b/Roo/htmleditor/Tidy.js
index
b4489d9
..
00af29c
100644
(file)
--- a/
Roo/htmleditor/Tidy.js
+++ b/
Roo/htmleditor/Tidy.js
@@
-29,13
+29,13
@@
Roo.htmleditor.Tidy.prototype = {
*/
core : false,
-
+
tidy : function(node, indent) {
- new Roo.htmleditor.TidySerializer({
+
var ser =
new Roo.htmleditor.TidySerializer({
indent : 2,
});
-
+ return ser.serialize(node);
}