mirror of
https://github.com/lingble/chatwoot.git
synced 2026-03-19 19:52:42 +00:00
Some emails contain HTML content within the text part, but our content parser currently strips HTML automatically, which needs a proper fix. In the new UI, the fallback for HTML content was set to the parsed content, which may omit HTML tags, leading to issues like missing inline attachments. This PR updates the fallback mechanism to use the text content instead of the parsed content, ensuring HTML elements are preserved. Fixes https://linear.app/chatwoot/issue/CW-4046/text-content-is-not-respected-in-emails