Fix lists in rich text to display properly