@Test
void shouldFilterTagsInMessageAndDescription() {

    IssueBuilder builder = new IssueBuilder();
    Issue issue = builder.setLineStart(7).setMessage("Hello <b>Message</b> <script>execute</script>").build();
    SourcePrinter printer = new SourcePrinter(createJenkinsFacade());
    Document document = Jsoup.parse(printer.render(asStream("format-java.txt"), issue,
            "Hello <b>Description</b> <script>execute</script>", ICON_URL));
    assertThatCodeIsEqualToSourceText(document);
    assertThat(document.getElementsByClass("analysis-warning-title").html())
            .isEqualToIgnoringWhitespace("Hello <b>Message</b>");
    assertThat(document.getElementsByClass("analysis-detail").html())
            .isEqualToIgnoringWhitespace("Hello <b>Description</b>");
}