Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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