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

Section included displays incorrectly in a paragraph



On including a section in a paragraph which displays content as a bullet or numbered list, the included section moves down from the bullet. This occurs in the Internet Explorer and Firefox browsers.

The included section displays as below in the Internet Explorer or Firefox browsers:

Error Messages

Not Applicable

Steps to Reproduce

  1. Configure a Rich Text Editor (RTE) with an unordered list.
  2. Include the <span> tag in each list.
  3. Include a section using the <pega:include> tag in the Span elements.

Root Cause

An issue in the custom application code or rules.

By default, Span elements in HTML have an inline style. However, the section included within the Span caused the generation of DIV elements, which are block level elements. Thus, DIV moved to the next line.
The elements display according to the browser's rendering logic. Hence, in the Internet Explorer and Firefox browsers, the section Included display in the next line.


Perform the following local-change:

Add the display:inline-block; style attribute to the Span elements.

<li><span style="color:#5b6670;display:inline-block;"><pega:include name="DisplayHoverMsg" type="Rule-HTML-Section"><pega:param name="ParaMessage" value="sdlfjsdlfjs"><pega:param name="Show" value="fgljxifgsjfs"></pega:param></pega:param></pega:include></span></li>

Published January 14, 2020 - 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