Tags are getting misplaced when source for paragraph is viewed
SummaryThe tags are getting misplaced when user view source for paragraph with Pega 7.1.9.
Error MessagesNot Applicable
Steps to Reproduce
- Create a Paragraph rule.
- Go to source code
- Paste the below text:
<ul><pega:when name="SampleWhenRule"> </pega:when>
4. Toggle the source code button observe the un-ordered list elements get rendered multiple times.
Root CauseAs identified the root cause, this is due to applying the when rules to HTML block elements.
Local-change: User requested not to use When rule for HTML block elements, When rule should be configured to inline block elements (span tag) like below:
Changes made : <ul>
<li><pega:when name="SampleWhenRule"> </pega:when></li>
Published May 3, 2017 - Updated May 16, 2017