@Test public void sanitize() { String html = "<div><script>alert('toto')</script></div>"; assertEquals(html, AllowAllSanitizer.sanitize(html)); }
public static String sanitize(String content) { return new AllowAllPolicy().sanitize(content); }
AllowAllSanitizer { public static String sanitize(String content) { return new AllowAllPolicy().sanitize(content); } }
AllowAllSanitizer { public static String sanitize(String content) { return new AllowAllPolicy().sanitize(content); } private  AllowAllSanitizer(); }
AllowAllSanitizer { public static String sanitize(String content) { return new AllowAllPolicy().sanitize(content); } private  AllowAllSanitizer(); static String sanitize(String content); }
AllowAllSanitizer { public static String sanitize(String content) { return new AllowAllPolicy().sanitize(content); } private  AllowAllSanitizer(); static String sanitize(String content);  }