projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix word filter on html editor
[roojs1]
/
Roo
/
htmleditor
/
FilterWord.js
diff --git
a/Roo/htmleditor/FilterWord.js
b/Roo/htmleditor/FilterWord.js
index
682d2e2
..
3cb8df6
100644
(file)
--- a/
Roo/htmleditor/FilterWord.js
+++ b/
Roo/htmleditor/FilterWord.js
@@
-212,7
+212,7
@@
Roo.extend(Roo.htmleditor.FilterWord, Roo.htmleditor.Filter,
}
var nlvl = (style['mso-list'].split(' ')[1].replace(/level/,'') *1) - 1;
- if (nlvl > lvl) {
+ if (nlvl > lvl
&& last_li
) {
//new indent
var nul = doc.createElement('ul'); // what about number lists...
last_li.appendChild(nul);