For the rest of the lines it is left unchanged.Upon perform view source I could see < li > and < /li > is getting applied to the whole selected block instead of individual lines.
With 200+ posts on your name, you should know by now how (not) to post HTML in your text on these boards... It's not like a Gartner-approved WCM vendor is gonna help you with safely writing HTML, or anything, eh