DNN 7.3.1
Sexy Content 6.1.5
Razor Template
I've created a razor template. And I have a field with a WYSIWYG called "Biography".
In my razor template, I have
@Html.Raw(Content.Biography). But I get an error like this:
There was an error while rendering the template: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: The call is ambiguous between the following methods or properties: 'ToSic.SexyContent.Razor.Helpers.HtmlHelper.Raw(string)' and 'ToSic.SexyContent.Razor.Helpers.HtmlHelper.Raw(System.Web.HtmlString)' at CallSite.Target(Closure , CallSite , HtmlHelper , Object ) at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1) at CallSite.Target(Closure , CallSite , HtmlHelper , Object ) at ASP._Page_Portals_0_2sxc_Content__Person_List_cshtml.Execute() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at ToSic.SexyContent.Engines.RazorEngine.Render(TextWriter writer) at ToSic.SexyContent.Engines.RazorEngine.RenderTemplate() at ToSic.SexyContent.Engines.EngineBase.Render() at ToSic.SexyContent.View.ProcessView()