[[Dashboard | << Back to Dashboard ]] {| align="right" | __TOC__ |} = Exploring the AntiSamy Plugin = == Overview == OWASP AntiSamy Project that provides XSS cleanup operations to ColdBox applications == HTMLSanitizer == clean HTML from XSS scripts using the AntiSamy project. The available policies are antisamy, ebay, myspace, slashdot, custom === Returns === * This function returns ''Any'' === Arguments === {| cellpadding="5", class="tablelisting" ! '''Key''' !! '''Type''' !! '''Required''' !! '''Default''' !! '''Description''' |- | HTMLData || string || Yes || --- || The html text to sanitize |- | policyFile || string || No || ebay || Provide policy file to scan html. Available options are: antisamy, ebay, myspace, slashdot, tinymce, custom |- | resultsObject || boolean || No || false || Return the cleaned HTML or the results object. By default it is the cleaned HTML |} === Examples ===