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
you want to use @Html.Raw(str)
@Html.Raw(str)
See MSDN for more
Returns markup that is not HTML encoded. This method wraps HTML markup using the IHtmlString class, which renders unencoded HTML.
Returns markup that is not HTML encoded.
This method wraps HTML markup using the IHtmlString class, which renders unencoded HTML.