.net mvc how to save line breaks to database 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/>"))