fix for bug #11897

A propose fix for issue: https://dev.ckeditor.com/ticket/11897

If list item has an empty block in it, set the block variable to be the list item, and in the end copy the block to outside of the list, else copy the list item content into a new div