메소드 | 설명 | |
---|---|---|
SanitizeHtml ( string source ) : string |
Takes raw HTML input and cleans against a whitelist
|
|
StripHtml ( string source ) : string |
Takes a raw source and removes all HTML tags
|
메소드 | 설명 | |
---|---|---|
CleanChildren ( |
Apply CleanNodes to each of the child nodes
|
|
CleanNodes ( |
Recursively delete nodes not in the whitelist
|
|
GetHtml ( string source ) : HtmlAgilityPack.HtmlDocument |
Helper function that returns an HTML document from text
|
public static SanitizeHtml ( string source ) : string | ||
source | string | Html source |
리턴 | string |