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

HTMLtoPDF does not reflect HTML format in PDF



Styles using 'Display:flex', 'border-top: .2px solid black', and line spacing in a <textarea> tag do not reflect in a PDF.

Error Messages

Not Applicable

Steps to Reproduce


Root Cause

A third-party product issue.
The HTMLtoPDF activity uses the third-party PD4ML software. PD4ml 3.10 does not support the mentioned attributes.


Perform the following local-change:
  • Use the supported CSS to reproduce the Display:Flex formatting.
  • Use a Pixel value of 1 or higher for 'border-top: .2px solid black'.
  • Use a Paragraph HTML tab instead of the TextArea tag for Line Space formatting.

Published July 25, 2020 - Updated December 2, 2021

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?

Want to help us improve this content?

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
Contact us