projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ba4a1f
)
Roo/htmleditor/TidyWriter.js
author
Alan
<alan@roojs.com>
Fri, 7 Jan 2022 06:54:17 +0000
(14:54 +0800)
committer
Alan
<alan@roojs.com>
Fri, 7 Jan 2022 06:54:17 +0000
(14:54 +0800)
Roo/htmleditor/TidyWriter.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/TidyWriter.js
b/Roo/htmleditor/TidyWriter.js
index
4dad02b
..
5541b93
100644
(file)
--- a/
Roo/htmleditor/TidyWriter.js
+++ b/
Roo/htmleditor/TidyWriter.js
@@
-5,7
+5,7
@@
*
* Known issues?
* - not tested much with 'PRE' formated elements.
- * -
BR insined inline
?
+ * -
long text inside of inline can be wrapped and clened
?
*
*
*/
@@
-95,8
+95,9
@@
Roo.htmleditor.TidyWriter.prototype = {
} else {
this.html[this.html.length] = '></' + name.toLowerCase() + '>';
}
+ var e_inline = name == 'BR' ? false : this.in_inline;
- if (!
this.in
_inline && !this.in_pre) {
+ if (!
e
_inline && !this.in_pre) {
this.addLine();
}
return;