How can I get a new line <br> in mvc @Html.ValidationSummary
asp.net-mvc
Solution
@if (!ViewData.ModelState.IsValid) {
<div>
@Html.Raw(HttpUtility.HtmlDecode(Html.ValidationSummary(true, "asdfsadfsdf <br> sdfsdsddsfdfsdsf").ToHtmlString()))
</div>
}
Problem
How can I get a new line in a mvc ValidationSummary ``` @Html.ValidationSummary(true, "asdfsadfsdf <br> sdfsdsddsfdfsdsf") I want a new line instead of <br> in the output message ```