How to tell razor NOT to html escape How to tell razor NOT to html escape javascript javascript

How to tell razor NOT to html escape


You need to output an instance of the new IHtmlString interface, which contains pre-escaped HTML.

To do that write @Html.Raw(...).