Input markup:
# Item 1 #*<div> </div> # Item 3
Generated output:
<div class="mw-parser-output"><ol><li>Item 1 <ul><li><div></div></li></ul></li></ol> <ol><li>Item 3</li></ol> </div>
Expected out-put:
<div class="mw-parser-output"> <ol><li>Item 1 <ul><li><div></div></li></ul></li> <li>Item 3</li></ol> </div>
This premature closure of the outer list has generated a NUMBER of Lint-errors at English Wikitionary, such as here - https://en.wiktionary.org/w/index.php?title=%E1%BC%88%CF%81%CE%B9%CF%83%CF%84%CE%BF%CF%86%CE%AC%CE%BD%CE%B7%CF%82&action=edit&lintid=10907886 when using the rfquote template, which of itself does NOT contain errors.