Tags are getting misplaced when source for paragraph is viewed
The tags are getting misplaced when user view source for paragraph with Pega 7.1.9.
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.
As 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 :
<li><pega:when name="SampleWhenRule"> </pega:when></li>
Published May 16, 2017 - Updated October 8, 2020
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.