You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2010/12/06 23:15:03 UTC

[jira] Commented: (MPJIRA-19) html tags inside CDATA are ignored

    [ http://jira.codehaus.org/browse/MPJIRA-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246631#action_246631 ] 

Brett Porter commented on MPJIRA-19:
------------------------------------

are you referring to Maven 2's changes plugin, or Maven 1's JIRA plugin (where this was filed)?

> 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