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

Christian Schulte updated MCHANGES-190:
---------------------------------------

    Attachment: MCHANGES-190.zip

The changes file using HTML entities for the < and > characters does not work 
for me also.
Please unzip MCHANGES-190.zip and execute

{code}
mvn site
{code}

and compare the result using the 2.2 version and the 2.3 version. The 
changes.xml file therein contains two actions using the same HTML. In a cdata 
section and using HTML entities.

{code}
      <action><![CDATA[<b>bold</b> - <i>italic</i>]]></action>
      <action>&lt;b&gt;bold&lt;/b&gt; - &lt;i&gt;italic&lt;/i&gt;</action>
{code}

Using version 2.2, the raw HTML is rendered so a browser actually displays bold 
and italic text. Using version 2.3, the HTML got encoded so a browser displays 
the tags.


> 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