@Test public void sanitize() { String html = getSafe(); assertEquals(html, HtmlSanitizer.sanitize(html)); }
public static String sanitize(String content) { if (content == null || content.isEmpty()) { return content; } return factory.sanitize(content); }
HtmlSanitizer { public static String sanitize(String content) { if (content == null || content.isEmpty()) { return content; } return factory.sanitize(content); } }
HtmlSanitizer { public static String sanitize(String content) { if (content == null || content.isEmpty()) { return content; } return factory.sanitize(content); } private  HtmlSanitizer(); }
HtmlSanitizer { public static String sanitize(String content) { if (content == null || content.isEmpty()) { return content; } return factory.sanitize(content); } private  HtmlSanitizer(); static String sanitize(String content); static String sanitize(String content, HtmlChangeListener<CTX> listener, CTX context); static SanitizeInfos isSafe(String content); }
HtmlSanitizer { public static String sanitize(String content) { if (content == null || content.isEmpty()) { return content; } return factory.sanitize(content); } private  HtmlSanitizer(); static String sanitize(String content); static String sanitize(String content, HtmlChangeListener<CTX> listener, CTX context); static SanitizeInfos isSafe(String content);  }