Line Breaks
-
Hi,
The plugin removes line breaks from text areas, would it be possible to leave these in? It would make the PDF easier to read.
Thanks,
Allan
-
Hello @allan1978
Thank you for reaching out to us.
We are currently reviewing the issue you reported and will update you once we have more information.
If you have any further questions, please feel free to contact me I’m here to help.
Thank you,
ZealousWebHello @allan1978
We have checked this issue.
When you enter text in the textarea, line breaks will only be reflected in the PDF if they are manually added while typing. Otherwise, the content is rendered in the PDF in the same format as it appears in the system.
Please refer to the attached screenshots for your reference:
SS link: https://prnt.sc/HH8cd7fCg0vx
PDF link: https://prnt.sc/dWS98tBj9Jk6This is the expected behavior of the current PDF rendering format.
Thank you for your understanding.
Kind regards,
ZealousWeb-
This reply was modified 17 hours, 33 minutes ago by
Cristopher.
Hi Christopher,
Thanks for looking into this. I’ve tested this on a blank WordPress install and it works as expected. The set up i have also uses a plugin to create a multi step form : Ultra Addons for Contact Form 7. this also has a PDF add on which is inactive but it might be causing the issue.
Hello @allan1978
Thank you so much for your kind words!
If you’re happy with our plugin, we would greatly appreciate it if you could leave us a 5-star review. Your support motivates us to keep improving and helps us continue providing the best experience.
Thank you again for your support! 🙂
Thank you,
ZealousWebHi Christopher,
I’ve had a good look into this. I’ve tested on a blank WordPress install with only the twenty twenty five theme, WPCF7 and your plugin
Line breaks in text areas are removed when the ‘PDF Message body’ contains any HTML tags in the wp-cf7-send-pdf settings. if this contains no HTML tags then the line breaks are preserved.
Here’s some screen shots of the settings, the contact form and the produced PDF files:
https://www.portalcreative.uk/wp-content/uploads/2026/06/PDF-message-with-HTML-tags.jpgHello @allan1978
I will go to the office tomorrow morning, review the issue, and resolve it. After that, I will release version 4.2.1.
Once the issue is resolved, I would appreciate it if you could leave us a 5-star review.
Please let me know if you have any further queries.Thank you,
ZealousWebThanks christopher, have a good night.
-
This reply was modified 17 hours, 33 minutes ago by
You must be logged in to reply to this topic.