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

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

  1. Copy and paste formatted text from an external word document into rich text user-input fields.
  2. 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

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?

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