Fix display bug with medium editor adding paragraphs.