X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/76cceaee5424e76b3e260e53821e6f7fee6b31f2..83f83c6ba32734d4d6b53125d2eb4adb039ea3de:/src/wlxml/extensions/list/list.js?ds=sidebyside diff --git a/src/wlxml/extensions/list/list.js b/src/wlxml/extensions/list/list.js index 3ee65d4..7731616 100644 --- 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) {