You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2024/11/22 12:10:00 UTC

(maven-changes-plugin) branch MCHANGES-432 created (now 389aa97)

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

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


      at 389aa97  [MCHANGES-432] Remove deprecated parameter - escapeHtml from changes-report

This branch includes the following new commits:

     new 389aa97  [MCHANGES-432] Remove deprecated parameter - escapeHtml from changes-report

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(maven-changes-plugin) 01/01: [MCHANGES-432] Remove deprecated parameter - escapeHtml from changes-report

Posted by el...@apache.org.
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 <el...@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",