Fix bug: incorrect close ol/ul tags.