Fix bullet points and number lists handling.