You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2010/12/21 21:11:00 UTC

[jira] Updated: (MCHANGES-190) HTML in changes.xml stopped working

     [ http://jira.codehaus.org/browse/MCHANGES-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated MCHANGES-190:
-------------------------------------

    Attachment: MCHANGES-190.patch

Here is my proposed patch to fix this issue.

It should satisfy those users who want to use HTML code inside a CDATA section to format the contents of their <action>s in the changes report. They would simply add this to their POM:
{noformat}
        <configuration>
          <escapeHTML>false</escapeHTML>
        </configuration>
{noformat}

Users of the {{announcement-generate}} goal are unaffected by this change (and this issue for that matter). If you put HTML code inside your <action>s it will be written to the announcement file.

If someone later on want to add a new feature to this plugin that would allow sending HTML emails, that would work too.

> HTML in changes.xml stopped working
> -----------------------------------
>
>                 Key: MCHANGES-190
>                 URL: http://jira.codehaus.org/browse/MCHANGES-190
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>          Components: changes.xml
>    Affects Versions: 2.3
>         Environment: Maven version: 2.0.10
> Java version: 1.5.0_17
> OS name: "linux" version: "2.6.32-686" arch: "i386" Family: "unix"
>            Reporter: Christian Schulte
>            Priority: Critical
>         Attachments: changes.xml, changes.xml, MCHANGES-190.patch, MCHANGES-190.zip
>
>
> The fix for MCHANGES-189 does not seem to be correct. A changes.xml file containing HTML-Tags got rendered correctly using version 2.2. Starting with version 2.3, HTML-Tags will be encoded using HTML entities for the '<' and '>' characters leading to the actual tags getting shown in the report. See the attached example changes.xml file containing HTML no longer working with version 2.3.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira