init
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user