Email templates that use HTML markup tags insert unwanted blank lines in the body of the email in RSA Identity Governance & Lifecycle
2 years ago
Originally Published: 2020-01-24
Article Number
000043742
Applies To
RSA Product Set: RSA Identity Governance & Lifecycle
RSA Version/Condition: 7.1.1, 7.2.0
 
Issue
Email templates that use HTML markup tags for styling the email text/response insert unwanted blank lines in the body of the email in RSA Identity Governance & Lifecycle.

For example, consider the below email template: (Admin > Email > Templates tab > Create/Edit email template)
 
User-added image

To view the email content, go to (Admin > Email > Templates tab > {name of email template} > Content: View button).
 
The expected email content is:
 
User-added image
 
The actual email content is:
 
User-added image

Note the unexpected addition of blank lines in the email content.
 
Cause
The line feeds/carriage returns used to separate the HTML tags in the email template definition are being converted to blank lines when creating or updating the email template.

Note:This is an issue only when using HTML tags that add styling to a text/response. This is not an issue with tags used to generate a text/response.

This is a known issue reported in engineering ticket ACM-102286.
 
Resolution
This issue is being investigated by the Engineering team in order to provide a permanent resolution in a future release.
 
Workaround
Remove the line feeds/carriage returns from the HTML content (Admin > Email > Templates tab > Create/Edit email template).
 
For example, change

FROM:
<span style="color:red">
Here is some red text.
</span>
TO:
<span style="color:red">Here is some red text.</span>

Applying this workaround to the example above would look like:
User-added image


To view the email content, go to (Admin > Email > Templates tab > {name of email template} > Content: View button).
 
The email body now looks as expected:
 
User-added image

 
Notes
In order to allow HTML markup in email templates, in the RSA Identity Governance & Lifecycle user interface go to the Admin > System > Security tab and click Edit. Scroll to the XSS/Scripting Security section of the page and set Email Body (Templates, Review Emails): to Allow sanitized HTML as in the example below:
 
User-added image