html tags inside CDATA are ignored
----------------------------------

                 Key: MPJIRA-19
                 URL: http://jira.codehaus.org/browse/MPJIRA-19
             Project: Maven 1.x JIRA Plugin
          Issue Type: Bug
            Reporter: Cleber Zarate
            Priority: Blocker


Our changes.xml files contains html tags inside the <action> tag. That's the 
way we found to add links to our repositories in our projects. To get it to 
work, we used to wrap the contents of the <action> tag in a <[!CDATA[ tag.
For instance, the following <action> tag would generate a valid link in the 
generated report:
<action dev="cleberz"><![CDATA[Hello, <a 
href="www.disney.com">Disneyworld!</a>]]></action>
This worked fine till version 2.2. Version 2.3 is replacing the < and > by 
character references (i.e., &lt; &gt;) thus preventing the link from working on 
the report.

As a side note, if we leave out the CDATA tag, an exception is thrown by the 
parser, but this seems to be happening in all versions. Please fix that when 
possible so that we can update for the latest version. Thank you!

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