Skip to content

Commit

Permalink
[MCHANGES-432] Remove deprecated parameter - escapeHtml - cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed Nov 22, 2024
1 parent b36a2b4 commit e2997ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,6 @@ public void executeReport(Locale locale) throws MavenReportException {
report.setAuthor(changesXml.getAuthor());
report.setTitle(changesXml.getTitle());

report.setEscapeHTML(true);

// Create a case insensitive version of issueLinkTemplatePerSystem
// We need something case insensitive to maintain backward compatibility
if (issueLinkTemplatePerSystem == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,6 @@ public class ChangesReportGenerator extends AbstractIssuesReportGenerator {

private boolean linkToFeed;

/**
* @since 2.4
*/
private boolean escapeHTML;

/**
* @since 2.4
*/
Expand All @@ -94,14 +89,6 @@ public ChangesReportGenerator(List<Release> releaseList) {
this.releaseList = releaseList;
}

public boolean isEscapeHTML() {
return escapeHTML;
}

public void setEscapeHTML(boolean escapeHTML) {
this.escapeHTML = escapeHTML;
}

public String getSystem() {
return system;
}
Expand Down Expand Up @@ -211,11 +198,7 @@ private void constructAction(Sink sink, ResourceBundle bundle, Action action) {

String actionDescription = action.getAction();

if (escapeHTML) {
sink.text(actionDescription);
} else {
sink.rawText(actionDescription);
}
sink.text(actionDescription);

// no null check needed classes from modello return a new ArrayList
if (StringUtils.isNotEmpty(action.getIssue())
Expand Down

0 comments on commit e2997ac

Please sign in to comment.