Support Article
HTML tags render incorrectly and raw HTML displays
SA-77154
Summary
In a dynamic layout, a header type is defined as Collapsible, 'Expand When' condition is specified, and a section is included in the header. When Pega auto-expands the layout based on a true condition, the HTML tags render incorrectly and raw HTML displays on the UI.

Error Messages
Not Applicable
Steps to Reproduce
- Create a dynamic layout.
- Check the Display Header and Title option.
- In Container settings, set the following,
Title as Text
Header Type as Collapsible
Specify an 'Expand when' condition
- In the Title field, add <pega:include> as <pega:include name="CustomeSectionName" type="Rule-HTML-Section" /> to specify a custom section.
Root Cause
A defect in Pegasystems’ code or rules
When the dynamic layout header text had a JavaServer Pages (JSP) section include, the aria-label attribute had a section stream in the aria-label attribute. This caused the HTML to render incorrectly.
Resolution
This behavior is scheduled to be resolved in a Pega 8.1.5 patch release.
Published April 12, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.