Simplify HTML code by removing </li>