projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55e6183
)
Roo/htmleditor/TidyWriter.js
author
Alan
<alan@roojs.com>
Fri, 7 Jan 2022 07:17:12 +0000
(15:17 +0800)
committer
Alan
<alan@roojs.com>
Fri, 7 Jan 2022 07:17:12 +0000
(15:17 +0800)
Roo/htmleditor/TidyWriter.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/TidyWriter.js
b/Roo/htmleditor/TidyWriter.js
index
3a46ac4
..
a42e6db
100644
(file)
--- a/
Roo/htmleditor/TidyWriter.js
+++ b/
Roo/htmleditor/TidyWriter.js
@@
-225,7
+225,7
@@
Roo.htmleditor.TidyWriter.prototype = {
node.previousSibling.nodeType == 1 &&
node.previousSibling.nodeName == 'BR' )
{
- text = text.replace(/^\s+/g,'');
+ text = t
his.indentstr + t
ext.replace(/^\s+/g,'');
}
}