Property | Type | Description | |
---|---|---|---|
BlackList | HashSet |
Method | Description | |
---|---|---|
Sanitize ( string html ) : string |
Cleans up an HTML string by removing elements on the blacklist and all elements that start with onXXX .
|
|
SanitizeHtml ( string html ) : string |
Cleans up an HTML string and removes HTML tags in blacklist
|
Method | Description | |
---|---|---|
HasExpressionLinks ( string value ) : bool | ||
HasScriptLinks ( string value ) : bool | ||
SanitizeHtmlNode ( |
public static SanitizeHtml ( string html ) : string | ||
html | string | The HTML. |
return | string |