C# Class N2.Templates.Mvc.Areas.Blog.Services.HtmlSanitizerStringExtension

Exibir arquivo Open project: n2cms/n2cms

Public Methods

Method Description
RemoveInvalidHtmlTags ( this text ) : string

Removes the invalid HTML tags.

ToSafeHtml ( this text ) : string

Toes the safe HTML.

Method Details

RemoveInvalidHtmlTags() public static method

Removes the invalid HTML tags.
public static RemoveInvalidHtmlTags ( this text ) : string
text this The text.
return string

ToSafeHtml() public static method

Toes the safe HTML.
public static ToSafeHtml ( this text ) : string
text this The text.
return string