private static string RenderTextBoxWidget(this Widget widget, ITemplateProcessor templateProcessor, string content, string pageTitle, string pathToRoot) { string results = string.Empty; var template = new Template() { Content = widget.FirstDictionaryItemContent(), TemplateType = Enumerations.TemplateType.Raw }; string widgetContent = templateProcessor.ProcessNonContentItemTemplate(template, string.Empty, string.Empty, content, pageTitle, pathToRoot); if (widget.ShowTitle) { results += $"<h4>{widget.Title}</h4>"; } results += $"<div class=\"content\">{widgetContent}</div>"; return(results); }