Render a string as HTML in C# Razor

Use @Html.Raw(Model.MyData.Address.Replace("\r\n", "<br />"))

Leave a Comment