Fix rich text stuff