Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

HTML tags render incorrectly and raw HTML displays



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

  1. Create a dynamic layout.
  2. Check the Display Header and Title option.
  3. In Container settings, set the following,

    Title as Text
    Header Type as Collapsible
    Specify an 'Expand when' condition

  4. 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.


This behavior is scheduled to be resolved in a Pega 8.1.5 patch release.

Published April 12, 2019 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us