title: Java: Owasp AntiSamy vs Owasp-java-html-sanitize
body: <p>I am looking for html purifier library now. And I've found that there are two "owasp" library. First is <a href="https://code.google.com/p/owasp-java-html-sanitizer/">https://code.google.com/p/owasp-java-html-sanitizer/</a> and the second is <a href="https://www.owasp.org/index.php/Category:OWASP_AntiSamy_Project">https://www.owasp.org/index.php/Category:OWASP_AntiSamy_Project</a>.</p>
  
  <p>My question is - what are pros and cons when comparing them.</p>