fix rich text