fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
edtior: fix exercise.order document events handling
[fnpeditor.git]
/
src
/
wlxml
/
extensions
/
list
/
list.js
diff --git
a/src/wlxml/extensions/list/list.js
b/src/wlxml/extensions/list/list.js
index
3ee65d4
..
7731616
100644
(file)
--- a/
src/wlxml/extensions/list/list.js
+++ b/
src/wlxml/extensions/list/list.js
@@
-111,7
+111,7
@@
extension.document.transformations.extractItems = {
extractedItems = [],
succeedingItems = [],
items = list.contents(),
- listIsNested = list.parent().is('item');
+ listIsNested = list.parent().is('item')
&& !list.parent().isContextRoot()
;
items.forEach(function(item, idx) {