protected IHtmlString Block(Block block) { if (block == null) { return(new HtmlString(String.Empty)); } return(Html.Raw(ContentRenderHelper.RenderContent(block.Content))); }
protected IHtmlString Ro(string data) { return(Html.Raw(ContentRenderHelper.RenderContent(data))); }
public string HtmlPreview(string pre) { pre = ContentRenderHelper.RenderContent(pre); return(Server.HtmlDecode(pre)); }