Whenever an email message record is created, Salesforce processes the email differently in the Case Feed compared to the email message record page. While processing an email for Case Feed, Salesforce performs certain modifications, which is dynamic and based on the content (length and markup) of the email. Based on the calculations, Salesforce truncates/modifies the HTML body in the case feed, leading to an incomplete HTML body. This may cause the email to be rendered differently when viewed in the case feed.
Salesforce performs this truncation to ensure optimal performance when loading emails in the case feed. An effect of this truncation could result in the email being displayed differently in the feed. Emails opened from the email message detail page do not undergo any additional processing. Since the unmodified HTML markup is loaded on the record detail page, customers would not experience the issue on the email message detail page.
This is working as designed. Users can always access the original email on the Email Message detail page without any truncation.
While there are several checks and modifications done while processing the email for case feed, the common cause of difference is the presence of invalid markup. Invalid markup includes invalid comments, unclosed tags, incorrect usage of tags, unordered tags, invalid attributes, etc. A publicly available HTML validator is available at https://validator.w3.org/ where one can check the HTML markup’s correctness.
002571211

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.