projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Changed Roo/htmleditor/FilterWord.js
[roojs1]
/
Roo
/
htmleditor
/
FilterWord.js
diff --git
a/Roo/htmleditor/FilterWord.js
b/Roo/htmleditor/FilterWord.js
index
351e170
..
fb55b9f
100644
(file)
--- a/
Roo/htmleditor/FilterWord.js
+++ b/
Roo/htmleditor/FilterWord.js
@@
-223,6
+223,10
@@
Roo.extend(Roo.htmleditor.FilterWord, Roo.htmleditor.Filter,
if (nlvl > lvl) {
//new indent
var nul = doc.createElement('ul'); // what about number lists...
+ if (!last_li) {
+ last_li = doc.createElement('li');
+ stack[lvl].appendChild(last_li);
+ }
last_li.appendChild(nul);
stack[nlvl] = nul;