I am using asp.net mvc 3 with razor for a project. At some I need to serialize an array from the controller, put it in the viewdata and assign it to a js object. However when I
You need to output an instance of the new IHtmlString interface, which contains pre-escaped HTML.
To do that write @Html.Raw(...).
@Html.Raw(...)