Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MCHANGES-432] Remove deprecated parameter - escapeHtml from changes-… #48

Merged
merged 1 commit into from
Nov 22, 2024
Merged
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
19 changes: 0 additions & 19 deletions src/main/java/org/apache/maven/plugins/changes/ChangesReport.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,23 +72,6 @@ public class ChangesReport extends AbstractChangesReport {
@Parameter(property = "changes.addActionDate", defaultValue = "false")
private boolean addActionDate;

/**
* Whether HTML code within an action should be escaped. By changing this to <code>false</code> you can restore the
* behavior that was in version 2.2 of this plugin, allowing you to use HTML code to format the content of an
* action.
* <p>
* <strong>Note:</strong> If you use HTML code in an action you need to place it inside a CDATA section.
* </p>
* <strong>Note:</strong> Putting any kind of markup inside a CDATA section might mess up the Changes Report or
* other generated documents, such as PDFs, that are based on your <code>changes.xml</code> file if you are not
* careful.
*
* @since 2.4
* @deprecated using markup inside CDATA sections does not work for all output formats!
*/
@Parameter
private Boolean escapeHTML;

/**
* The directory for interpolated changes.xml.
*
Expand Down Expand Up @@ -228,8 +211,6 @@ public boolean canGenerateReport() {

@Override
public void executeReport(Locale locale) throws MavenReportException {
failIfUsingDeprecatedParameter(
escapeHTML, "escapeHTML", "Using markup inside CDATA sections does not work for all output formats!");
failIfUsingDeprecatedParameter(
issueLinkTemplate,
"issueLinkTemplate",
Expand Down