@Test public void testStripRemovesAllHtml() { String input = "<strong>Leaves</strong><a href=\"http: assertEquals("Leaves alternate", strip(input)); }
public static String strip(String unclean) { if (Strings.isNullOrEmpty(unclean)) { return unclean; } else { return Jsoup.clean(unclean, Whitelist.none()); } }
HtmlSanitizer { public static String strip(String unclean) { if (Strings.isNullOrEmpty(unclean)) { return unclean; } else { return Jsoup.clean(unclean, Whitelist.none()); } } }
HtmlSanitizer { public static String strip(String unclean) { if (Strings.isNullOrEmpty(unclean)) { return unclean; } else { return Jsoup.clean(unclean, Whitelist.none()); } }  }
HtmlSanitizer { public static String strip(String unclean) { if (Strings.isNullOrEmpty(unclean)) { return unclean; } else { return Jsoup.clean(unclean, Whitelist.none()); } }  static String sanitize(String unclean); static String strip(String unclean); }
HtmlSanitizer { public static String strip(String unclean) { if (Strings.isNullOrEmpty(unclean)) { return unclean; } else { return Jsoup.clean(unclean, Whitelist.none()); } }  static String sanitize(String unclean); static String strip(String unclean);  }