add rich text conversion