Part 1 has a list item that contains only a sub-list. A tinyMCE bug mucks up the list

  1. List item 1
    1. Sub list item 2.1 with nothing introducing this sub-list
    2. Sub list item 2.2
    3. Sub list item 2.3
  2. List item 3

Part 2 checks how to handle a new list inside an existing list but outside a list item - tinyMCE keeps open the list item

first time around:

Second time (invalid mark-up, no line breaks):

Third time (invalid mark-up):