Support Article
Rich Text to PDF Formatting issue
SA-21188
Summary
When creating a PDF from Rich Text using the HTMLToPDF activity, an extra new line is appended in every line break.
Error Messages
Not Applicable
Steps to Reproduce
- Copy and paste formatted text from an external word document into rich text user-input fields.
- Generate a PDF (using HTML to PDF) that utilizes these fields as content.
Root Cause
In a custom activity a custom step was added, after setting the parameter Markup using the step method Property-Set-Stream and passing the section. This step updated Markup parameter and added a <br /> tag before passing it to the HTMLToPDF activity.
Resolution
Pass parameter Markup directly to HTMLToPDF activity without any modification.
Published March 24, 2016 - 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.