This commit is contained in:
2024-03-13 00:33:46 +01:00
commit e124a47765
19374 changed files with 9806149 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
using System.Web;
using System.Web.Mvc;
using Kreta.BusinessLogic.Logic;
namespace Kreta.Web.Helpers
{
public static class RawTextExtensions
{
public static IHtmlString RawRichText(this HtmlHelper helper, string html)
{
if (html == null)
{
return helper.Raw(null);
}
return helper.Raw(RichTextLogic.ConvertRawHtmlToRichTextHtml(html));
}
}
}