Fix wrong end tags on li