Repository navigation
Archived email previews now retain the original message’s styles and body attributes, so they more closely match the email as sent. The preview continues to sanitize unsafe content and run inside its existing sandbox.
Fixed
- Archive HTML as sent and sanitize it when rendering the preview, preserving styles such as
displayandborder-radiuswithout allowing scripts or event handlers. Plain-text content remains sanitized. Consumers that render the archivedhtmlTextAPI field themselves must sanitize it; previously archived messages retain their existing filtered HTML (#172, @christopherholst).