save textarea value with line breaks in mvc code example
Example: save textarea value with line breaks in mvc
@Html.TextAreaFor(model => model.ProductEntity.Nutrition.replace(Environment.NewLine, "<br/>"))
@Html.TextAreaFor(model => model.ProductEntity.Nutrition.replace(Environment.NewLine, "<br/>"))