Question
MBAFC
CN
Last activity: 2 May 2024 7:05 EDT
The text-indent not work when use activity HTML Convert to PDF Issue
We are plan to upgrade our pega platform to a latest one. Now we facing a issue on convert HTML to PDF.
The issue is the css attribute text-indent was not work when we call the activity "HTMLtoPDF".
The html like this:
<!DOCTYPE html> <html> <head> <style type="text/css"> p { text-indent: 40px; text-align: justify; }
</style> </head> <body>
</div> <p>This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test 123123121312312312312.</p> </div> </body> </html>
What we expected was as below:
This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test 123123121312312312312.
But what we getted was:
This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test 123123121312312312312.
Our pega version is:
We are plan to upgrade our pega platform to a latest one. Now we facing a issue on convert HTML to PDF.
The issue is the css attribute text-indent was not work when we call the activity "HTMLtoPDF".
The html like this:
<!DOCTYPE html> <html> <head> <style type="text/css"> p { text-indent: 40px; text-align: justify; }
</style> </head> <body>
</div> <p>This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test 123123121312312312312.</p> </div> </body> </html>
What we expected was as below:
This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test 123123121312312312312.
But what we getted was:
This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test 123123121312312312312.
Our pega version is:
- Pega Platform Infinity '23
- Pega Foundation for Financial Services
- Pega Customer Service (UI Kit) '23
- Pega Customer Service for Financial Services
The pd4ml version used in the Pega platform is:v4.0.13fx8.
Does there are anybody have facing the similar issue or not?
This is a bug or not?
***Edited by Moderator Marije to change CS 8.8 to Pega '23 version***