I have a textarea in mvc. When data is entered into that and I\'m displaying it back to the user, how do I show the line breaks?
textarea
I display like this:
It doesn't look like you're trying to HTML Encode so a regular replace should work fine.
<%= Model.Description.Replace(Environment.NewLine, "")%>