[ 
http://jira.codehaus.org/browse/MCHANGES-190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=212947#action_212947
 ] 

Lukas Theussl commented on MCHANGES-190:
----------------------------------------

bq. no processing of the content from the changes.xml file should be performed 
at all.

How do you want to generate anything without processing the content of 
changes.xml?

bq. What if someone decides to send out HTML announcement mails ?

Then the content of changes.xml should be processed to produce an HTML mail (eg 
via an option in the changes:announcement-mail goal).

The point of this issue is really just backward compatibility, the current 
behavior of the plugin is perfectly correct IMO. The fact that in earlier 
versions you could put arbitrary html inside CDATA is an undocumented (and I 
would guess unintentional) feature, which should really be considered a bug (it 
only works for html output, ie site generation, but you can't use it for eg 
producing a pdf of the changes report via the pdf plugin).

> 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-report
>    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.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

        

Reply via email to