Display encoded html with razor

Try this:

<div class="content">    
   @Html.Raw(HttpUtility.HtmlDecode(Model.Content))
</div>

Leave a Comment