Fix bug in ul/ol rendering.