I am creating a word document using encodian and need a way to add line breaks to the json that goes to encodian.
I have the following in a word doc
SECTION ABOVE END
<<[SUBPROCESSORSTITLE]>>
<<[SUBPROCESSORPREAMBLE]>>
<<[SUBPROCESSOR1]>><<[DATASENT1]>>
<<[PROCESSING1]>>
<<[SUBPROCESSOR2]>><<[DATASENT2]>>
<<[PROCESSING2]>>
NEXT SECTION START
If none of these variables have any content, they are not merged in but the spacing that i have placed between them is.
That means that if this section is blank between the end of the last section and the start of the next i have 4 blank line breaks which makes the document look weird.
I have condensed the word doc so that i looks like this
SECTION ABOVE END
<<[SUBPROCESSORSTITLE]>>
<<[SUBPROCESSORPREAMBLE]>>
<<[SUBPROCESSOR1]>><<[DATASENT1]>>
<<[PROCESSING1]>>
<<[SUBPROCESSOR2]>><<[DATASENT2]>>
<<[PROCESSING2]>>
START OF NEW SECTION
and updated the encodian JSON in power automate to look like this with <br> tags to handle the line breaks - some of the passed in variables also have <br> in them.

The issue that i now have is that i am getting the following encodian error.
{"HttpStatusCode":400,"HttpStatusMessage":"Bad request","OperationId":"a8c5ae4f-8738-4512-9bb5-e35361c2442c\\1","Errors":["A error occurred parsing the JSON document provided: Error reading JObject from JsonReader. Current JsonReader item is not an object: String. Path '', line 2, position 12."],"OperationStatus":"Error"}
The Raw Input into encodian is as follows:
{
"EVENTNAME": "Event Name Test",
"NOWDATE": "18 July 2023",
"CLIENTNAME": "Tennis",
"SUBPROCESSOR1": " SUbby 1 Company",
"PROCESSING1": "INFO",
"DATASENT1": " - Name, Address, Phone Number",
"SPECIALDATATITLE": "",
"SPECIALDATABLURB": "",
"SUBPROCESSORSTITLE": "<br>Sub Processors<br><br>",
"SUBPROCESSORPREAMBLE": "We have some more data here.<br><br>",
"SUBPROCESSOR2": "<br><br>",
"PROCESSING2": "",
"DATASENT2": " - <br><br>"}
Does anyone know how i fix my issue?