projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix typo
[roojs1]
/
Roo
/
HtmlEditorCore.js
diff --git
a/Roo/HtmlEditorCore.js
b/Roo/HtmlEditorCore.js
index
f133a4d
..
85c1407
100644
(file)
--- a/
Roo/HtmlEditorCore.js
+++ b/
Roo/HtmlEditorCore.js
@@
-377,12
+377,15
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
if (this.enableBlocks) {
new Roo.htmleditor.FilterBlock({ node : div });
}
if (this.enableBlocks) {
new Roo.htmleditor.FilterBlock({ node : div });
}
+
+ var html = div.innerHTML;
+
//?? tidy?
if (this.autoClean) {
var tidy = new Roo.htmleditor.TidySerializer({
inner: true
});
//?? tidy?
if (this.autoClean) {
var tidy = new Roo.htmleditor.TidySerializer({
inner: true
});
-
var
html = tidy.serialize(div);
+ html = tidy.serialize(div);
}
}