Sunday, June 15, 2025
1 change · saas-18.3
Resolved issues and error corrections
This fixes an issue where formatted HTML content in mail-related records could lose its formatting when copied or reinserted, causing raw HTML text to appear in the interface. The change preserves the formatting marker so users continue to see properly rendered content.
Original PR description
Before this commit, `record.toData()` was not retrieving the "markup" flag of html fields. This is a problem because inserting this data would remove the `Markup` of these html fields, therefore showing html as text content in UI. This commit fixes the issue by having `record.toData()` return `["markup", string]` rather than `string` on html fields that have markup content, so that insert preserves the markup.