bigtom

Issue with escaping a backslash.

Discussion created by bigtom on Apr 28, 2015
Latest reply on Apr 29, 2015 by bigtom

I am having trouble with a multi-line JSON parameter. When I GET a multi-line parameter from the API I am using it shows:

 

<p>text1<\/p>\n<p>text2<\/p>

 

When I try to enter this into a calculation FM is changing <\\/p> back to <\/p> as soon as I save the calculation and reopen it again. I am not sure if this is affecting my results but I know it is not working properly. After sending the un-escaped text through the process it returns:

 

<p>text1 text2<\/p>\n

 

I have tried the usual \n, \\n, and \r\n with the JSON and had no success.

Outcomes