This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch MCHANGES-432
in repository https://gitbox.apache.org/repos/asf/maven-changes-plugin.git

commit 389aa972fbed09f3881701f784d7eabb498d5a45
Author: Elliotte Rusty Harold <elh...@ibiblio.org>
AuthorDate: Fri Nov 22 07:09:54 2024 -0500

    [MCHANGES-432] Remove deprecated parameter - escapeHtml from changes-report
---
 .../apache/maven/plugins/changes/ChangesReport.java   | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/src/main/java/org/apache/maven/plugins/changes/ChangesReport.java 
b/src/main/java/org/apache/maven/plugins/changes/ChangesReport.java
index 35e3ccc..b43c229 100644
--- a/src/main/java/org/apache/maven/plugins/changes/ChangesReport.java
+++ b/src/main/java/org/apache/maven/plugins/changes/ChangesReport.java
@@ -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.
      *
@@ -228,8 +211,6 @@ public class ChangesReport extends AbstractChangesReport {
 
     @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",

Reply via email to