I return a string in the c# MVC controller as follows:
Errors in messagernFirstName must be filledrnLastName must be filled
When i do a quick watch on this it shows as
Errors in message
FirstName must be filled
LastName must be filled
Which is fine.
I then send this to my AngularJS Javascript controller and the rn are not preserved and it display the text as follows:
Errors in messageFirstName must be filledLastName must be filled
How can i preserve the text formatting ?
2