diff --git a/src/static/js/contentcollector.js b/src/static/js/contentcollector.js index 219976d33..2e848f974 100644 --- a/src/static/js/contentcollector.js +++ b/src/static/js/contentcollector.js @@ -258,7 +258,8 @@ function makeContentCollector(collectStyles, browser, apool, domInterface, class { state.listNesting--; } - if(oldListType) state.lineAttributes['list'] = oldListType; + if (oldListType && oldListType != 'none') { state.lineAttributes['list'] = oldListType; } + else { delete state.lineAttributes['list']; } _recalcAttribString(state); }