I'm working on displaying some text in a textarea that I've submitted via a form in my ASP.NET MVC app.
I want the line breaks to show when I'm displaying the text back.
Why does
Message.Replace(Environment.NewLine, "<br />")
not work, but
Message.Replace("\n", "<br />")
does?
Is the breakline character that the browser submits different than the windows Newline "\r\n" ?