title: C# MVC Razor Html.ValidationSummary show message as HTML
body: <p>I want to show the validation summary as HTML format, for example.</p>
  
  <p>Code behind (controller):</p>
  
  <pre><code>ModelState.AddModelError("", "Account not confirmed&lt;br /&gt;Click &lt;a href='#'&gt;here&lt;/a&gt; to resend the email confirmation");
  </code></pre>
  
  <p>Razor View:</p>
  
  <pre><code>@Html.ValidationSummary(true, "", new { @class = "text-danger" });
  </code></pre>
  
  <p>An the rendered HTML is like:</p>
  
  <pre><code>Account not confirmed&lt;br /&gt;Click &lt;a href='#'&gt;here&lt;/a&gt; to resend the email confirmation
  </code></pre>
  
  <p>I mean, the html message is shown as it, but I want it to show with HTML tags.</p>