I'm getting the following raw string from a JSON file. I console.log it display fine.
"Hello, my name is Jane, from "IStaff" company.\r\n\r\n.We are interested in your service.\r\n\r\n.Please call me back "
When I rendering this string, there is no new lines.
` tag for a new line on the browser. Use [nl2br](http://php.net/manual/en/function.nl2br.php) to parse your JSON and convert all new lines to break tags before sending to client side. – nice_dev Mar 21 '19 at 05:52