How can I compile/render html helpers that are used inside my html template that is stored in my database?
The current view shows this:
But the @ values should be compiled already.
The view that renders this output contains this code, where @Model.Content contains the html markup.
@{
ViewBag.Title = Model.Title;
}
@section meta{
<meta name="description" content="@Model.Description" />
<meta name="keywords" content="@Model.Keywords" />
}
@Html.Raw(Model.Content)