Question

How do I add line breaks to a ChatGPT text?

  • 15 May 2023
  • 1 reply
  • 1735 views

Userlevel 1

Hi, 

we have a output text from ChatGPT and want to put it in a PDF. 

We use PDF.co to create it. But the text in the PDF has no line breaks.

How can we add line breaks to the ChatGPT Output?

Thank You, BR Falk


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +11

Hey @aiworx!

Is this happening inside a Zap, with a PDF.co action (I assume so). Would you be able to request that ChatGPT return the data in HTML format, then use this action: