I have HTML code emitted by FCKEditor stored in a database and would like to display (well render) it onto a view. So, for instance, something stored as:
&am
The answer provided by Pure.Krome is flawless for MVC2, but consider Razor syntax:
@Html.Raw(System.Web.HttpUtility.HtmlDecode(Model.yourEncodedHtmlFromYourDatabase))
Alternatively,
@Html.Raw(Server.HtmlDecode(Model.yourEncodedHtmlFromYourDatabase))