WYSIWYG, this is definitely wrong.HTML standard allows LI elements only in UL or OL elements. Look at the Document Type Definition for HTML and search for LI as a whole word.
You will find exactly four occurences:
- where LI is declared as sole content of UL
- where LI is declared as sole content of OL
- where LI is defined
- where the attributes of LI are defined