Special Newline Characters
The %%LF%%
Sequence
Section titled “The %%LF%% Sequence”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.
Example
Section titled “Example”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 StreetSuite 100New York, NY 10001