I am working with laravel, I have string like this in database,
hello
username, address
country
Username and country is in new line, and fields type is 'text' in database,
When i am trying to get that into JavaScript variable like this,
var add="{{ $data['order']->address }}";
Getting error unterminated string literal. No error if string in 1 line in database.