Skip to main content
Solved

Problem with line breaks


Forum|alt.badge.img+1

Help us solve the problem in DocGen. Everything was working fine until last month. I have developed a script that generates a csv document for batch document generation. In one of the text lines I used text formatting with the character “\n”. It used to work, but now in the generated document this character is displayed as \n instead of a newline. What do I have to do to make it work again?

Best answer by Jenny.Martin

Hello ​@B.Styslo,

Thank you for reaching out, and welcome to the Docusign Community! I appreciate you bringing your question to this Community. Rest assured that I will do my best to help you.

I received an update from our internal team regarding the issue with line breaks. They shared that we previously had some issues in processing the newline character (\n). To work around this, users adopted the method of using double slashes (\\n) for formatting. However, this has now been resolved, and we correctly handle the standard newline character (\n) as intended.

I hope you find this helpful. If you believe this response effectively addresses your question, please click “Select as Best” to help other users with similar questions, locate it more easily. Should you require any additional assistance, feel free to reach out. Thank you!

 

Best regards,

Jenny | Docusign Community Moderator

"Select as Best"  below if you find the answer a valid solution to your issue.

View Original
Is this content helpful?

2 replies

Forum|alt.badge.img+6
  • Community Moderator
  • 136 replies
  • Answer
  • April 11, 2025

Hello ​@B.Styslo,

Thank you for reaching out, and welcome to the Docusign Community! I appreciate you bringing your question to this Community. Rest assured that I will do my best to help you.

I received an update from our internal team regarding the issue with line breaks. They shared that we previously had some issues in processing the newline character (\n). To work around this, users adopted the method of using double slashes (\\n) for formatting. However, this has now been resolved, and we correctly handle the standard newline character (\n) as intended.

I hope you find this helpful. If you believe this response effectively addresses your question, please click “Select as Best” to help other users with similar questions, locate it more easily. Should you require any additional assistance, feel free to reach out. Thank you!

 

Best regards,

Jenny | Docusign Community Moderator

"Select as Best"  below if you find the answer a valid solution to your issue.


Forum|alt.badge.img+1
  • Author
  • Newcomer
  • 1 reply
  • April 12, 2025

Thank you! That really did help. In fact, that was the first thing I checked when the error occurred. But I didn't enclose the text strings in quotes, so \n was breaking the recipient list when sending in bulk.