@Test public void testInvalidMarkup() { assertEquals("<p>Local Aguaruna name: magkamak, katípas. <br> <br> Croat, Swart &amp; Yates 2005: 94</p>", sanitize("<meta content=\"text/html; charset=utf-8\" http-equiv=\"Content-Type\" /> <meta content=\"Word.Document\" name=\"ProgId\" /> <meta content=\"Microsoft Word 11\" name=\"Generator\" /> <meta content=\"Microsoft Word 11\" name=\"Originator\" /> <link href=\"file: }
public static String sanitize(String unclean) { if (Strings.isNullOrEmpty(unclean)) { return unclean; } else { unclean = unclean.replace("\0", ""); return Jsoup.clean(unclean, html); } }
HtmlSanitizer { public static String sanitize(String unclean) { if (Strings.isNullOrEmpty(unclean)) { return unclean; } else { unclean = unclean.replace("\0", ""); return Jsoup.clean(unclean, html); } } }
HtmlSanitizer { public static String sanitize(String unclean) { if (Strings.isNullOrEmpty(unclean)) { return unclean; } else { unclean = unclean.replace("\0", ""); return Jsoup.clean(unclean, html); } }  }
HtmlSanitizer { public static String sanitize(String unclean) { if (Strings.isNullOrEmpty(unclean)) { return unclean; } else { unclean = unclean.replace("\0", ""); return Jsoup.clean(unclean, html); } }  static String sanitize(String unclean); static String strip(String unclean); }
HtmlSanitizer { public static String sanitize(String unclean) { if (Strings.isNullOrEmpty(unclean)) { return unclean; } else { unclean = unclean.replace("\0", ""); return Jsoup.clean(unclean, html); } }  static String sanitize(String unclean); static String strip(String unclean);  }