Support Article
Extra paragraphs added when saving section with rich text editor
SA-11870
Summary
Users have a section with a Rich Text Control in editable mode. When the user keys in the text with new line characters and clicks on save button,
extra lines (paragraphs) are being added automatically.
Error Messages
No error message but extra line or paragraph characters are added
Steps to Reproduce
Create a new section, reference a Rich text control in editable mode.
Refer the new section in a flow action and create a new work object and traverse to the flow action.
Key in some text with next line characters and save.
Root Cause
The root cause of this problem is a defect in Pegasystems’ code/rules. The reported behavior didn't existed with Pega 7.1.6. As part of Pega 7.1.7 release, modifications were made in RTE control to replace '/n' (new lines) or <br> tags with empty spaces. This caused the reported problem in Pega 7.1.7.
Resolution
This issue is resolved by hotfix item HFix-20165.
This HFix reverts the changes made for RTE control in Pega 7.1.7 so that the behavior is similar to what we had in Pega 7.1.6 version.
Published July 7, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.