Add paragraphs to lists and close <ol>.