Skip to content

Special Newline Characters

If you are integrating with a service that makes it difficult to send literal newline characters (\n) in the submission data, you can use this special sequence of characters: %%LF%%

DocSpring will automatically replace any instances of %%LF%% with a newline character (\n) in the submission data.

If your integration sends:

{
"address": "123 Main Street%%LF%%Suite 100%%LF%%New York, NY 10001"
}

DocSpring will render it in the PDF as:

123 Main Street
Suite 100
New York, NY 10001