User:Zigger/Missing list levels

Un-ordered lists
prev text next text
 * 3 levels
 * 5 levels

Wiki-text
prev text next text
 * 3 levels
 * 5 levels

Current rendering (should look same as above)
prev text      3 levels    5 levels      </li> </ul> </li> </ul> next text

Proposal 1: strip missing levels
prev text <ul> <li>3 levels <ul> <li>5 levels</li> </ul> </li> </ul> next text

Proposal 2: replace empty ul with div+CSS
prev text <ul> <li>3 levels <ul> <li>5 levels</li> </ul> </li> </ul> next text

Ordered lists
prev text next text
 * 1) 3 levels
 * 2) 5 levels

Wiki-text
prev text next text
 * 1) 3 levels
 * 2) 5 levels

Current rendering (should look same as above)
prev text <ol> <li> <ol> <li> <ol> <li>3 levels <ol> <li> <ol> <li>5 levels</li> </ol> </li> </ol> </li> </ol> </li> </ol> </li> </ol> next text

Proposal 1: strip missing levels
prev text <ol> <li>3 levels <ol> <li>5 levels</li> </ol> </li> </ol> next text

Proposal 2: replace empty ol with div+CSS
prev text <ol> <li>3 levels <ol> <li>5 levels</li> </ol> </li> </ol> next text