GetSafeHTML
Method Signature
GetSafeHTML(string=[string], policy=[string])Arguments
Argument
Type
Required
Description
Default
Examples
Related
Last updated
Was this helpful?
Sanitizes HTML using antisamy policy rules.
If no policy is provided, the default policy is used which is the eBay policy.
Available policies are:
anythinggoes
ebay
myspace
slashdot
tinymce
If a policy is not one of the above, it is assumed to be an absolute path to a custom policy file.
GetSafeHTML(string=[string], policy=[string])string
string
true
The HTML to sanitize
policy
string
false
The policy to use for sanitization
Last updated
Was this helpful?
Was this helpful?
