add richtext as valid format via ?rtf (note -s important to generate complete document)