Fix unclosed li tags