Keymaster
4 years, 3 months ago
#25471
::
Hi JMH,
you can use the html <pre> element. With it you can display formatted text exactly as you define it in your html document. You can read more about it here.
I tried this in a small example and got the following result:
Picture final PDF: See Attachment “PDF_withLinebreaks”
Picture text field: See Attachment “textField”
Code in the PDF Plugin template:
<h2>Welcome to the PDF Generator</h2>
<p>Content of text field saved as String</p>
<pre>{{textfield1}}</pre>
Is this the format you are looking for?
Best regards,
Nina