Skip to content

Commit

Permalink
Adapt to Token Macro's new escapeHtml parameter (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsandell authored Apr 25, 2022
1 parent 64739c8 commit e3c5efe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>token-macro</artifactId>
<version>293.v283932a_0a_b_49</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ public class FailedTestsContent extends DataBoundTokenMacro {
@Parameter
public int maxLength = Integer.MAX_VALUE;

@Parameter
public boolean escapeHtml = false;

@Parameter
public String outputFormat = "";

Expand Down Expand Up @@ -168,6 +165,11 @@ public String toString() {
}
}

@Override
public boolean handlesHtmlEscapeInternally() {
return true;
}

private static class SummarizedTestResult {
public String summary;
public List<FailedTest> tests;
Expand Down

0 comments on commit e3c5efe

Please sign in to comment.