I tried a quick hack to get WikiModel to close the list early but it doesn't work, it then also directly closes the list item and not just the nested list. But I'm still convinced that the list balancing code could be extended to handle the case that we want to close everything but the current list item, it will just require some deeper changes.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.