I have a table in my db where one of the properties is an Html page (without the html, head and body tags), and I intend to put it in the middle of one of my views - say, I
You can also return a HTMLString and Razor will output the correct formatting, for example.
@Html.GetSomeHtml() public static HtmlString GetSomeHtml() { var Data = "abc123"; return new HtmlString(Data); }
This will allow you to display HTML