How to keep return carriage (\r\n ) in the table column.
How to keep return carriage (\r\n ) in the table column.

http://live.datatables.net/vegayade/1/edit?html,js,output
var dt = [
{"ABC":"111111111","NAME":"NAVY PIER \r\nDANCE CLUB\r\nRT 12 BLDG 007","ADDRESS":"NAVY PIER BLDG 425\r\nSUBMARINE HOUSE BOX 21\r\nCHICAGO IL 06340","MRY":"1980"},
{"ABC":"222222222","NAME":"BAR ONE\r\nDRINKS","ADDRESS":"123 N WELLWOOD AVE\r\nLINDENHURST NY 22222","MRY":"1957,1958"},
{"ABC":"333333333","NAME":"SEARS","ADDRESS":"505 STEWART AV \r\nGARDEN CITY NY 55555","MRY":"1961,1962,1963,1964"}
];
This question has an accepted answers - jump to answer
Answers
You would need to replace "\r\n" with the HTML tag <br />.
I'm using ajax to get the data and when JSON.parse() is used it removes "\r\n".
Thank you, I replaced it before doing JSON.parse().