C# 클래스 AjaxControlToolkit.HtmlEditor.Sanitizer.DefaultHtmlSanitizer

상속: IHtmlSanitizer
파일 보기 프로젝트 열기: DevExpress/AjaxControlToolkit 1 사용 예제들

공개 메소드들

메소드 설명
GetSafeHtmlFragment ( string htmlText, string[]>.Dictionary tagsWhiteList ) : string

비공개 메소드들

메소드 설명
CleanAttributeValue ( IHtmlAttribute attribute ) : void
CleanAttributes ( IEnumerable attributes, ICollection allowedAttributes ) : void
CleanNodes ( IEnumerable nodes, string[]>.IDictionary whiteList ) : void
EncodeCharacterToHtmlEntityEscape ( char c ) : string
Sanitize ( IHtmlNode rootNode, string[]>.IDictionary whiteList ) : void

메소드 상세

GetSafeHtmlFragment() 공개 메소드

public GetSafeHtmlFragment ( string htmlText, string[]>.Dictionary tagsWhiteList ) : string
htmlText string
tagsWhiteList string[]>.Dictionary
리턴 string