You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2008/06/06 11:25:19 UTC

[jira] Created: (MSITE-333) Ampersand gets un-escaped in menu item

Ampersand gets un-escaped in menu item
--------------------------------------

                 Key: MSITE-333
                 URL: http://jira.codehaus.org/browse/MSITE-333
             Project: Maven 2.x Site Plugin
          Issue Type: Bug
          Components: site descriptor
    Affects Versions: 2.0-beta-7
            Reporter: Lukas Theussl
            Priority: Minor


On the Doxia site (trunk) we have a menu item:

{code:xml}
<item name="Issues &amp; Gotchas" href="issues/index.html"/>
{code}

which ends up as

{code:xml}
    <li class="none">
        <strong>Issues & Gotchas</strong>
    </li>
{code}

ie the ampersand gets un-escaped, making the xhtml invalid.

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

        

[jira] Commented: (MSITE-333) Ampersand gets un-escaped in menu item

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143629#action_143629 ] 

Lukas Theussl commented on MSITE-333:
-------------------------------------

Unfortunately I still see it even with beta-1, must be something else I am missing...

> Ampersand gets un-escaped in menu item
> --------------------------------------
>
>                 Key: MSITE-333
>                 URL: http://jira.codehaus.org/browse/MSITE-333
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: site descriptor
>    Affects Versions: 2.0-beta-7
>            Reporter: Lukas Theussl
>            Priority: Minor
>
> On the Doxia site (trunk) we have a menu item:
> {code:xml}
> <item name="Issues &amp; Gotchas" href="issues/index.html"/>
> {code}
> which ends up as
> {code:xml}
>     <li class="none">
>         <strong>Issues & Gotchas</strong>
>     </li>
> {code}
> ie the ampersand gets un-escaped, making the xhtml invalid.

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

        

[jira] Commented: (MSITE-333) Ampersand gets un-escaped in menu item

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=142517#action_142517 ] 

Dennis Lundberg commented on MSITE-333:
---------------------------------------

A workaround is to use

{code:xml}
<item name="Issues &amp;amp; Gotchas" href="issues/index.html"/>
{code}

> Ampersand gets un-escaped in menu item
> --------------------------------------
>
>                 Key: MSITE-333
>                 URL: http://jira.codehaus.org/browse/MSITE-333
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: site descriptor
>    Affects Versions: 2.0-beta-7
>            Reporter: Lukas Theussl
>            Priority: Minor
>
> On the Doxia site (trunk) we have a menu item:
> {code:xml}
> <item name="Issues &amp; Gotchas" href="issues/index.html"/>
> {code}
> which ends up as
> {code:xml}
>     <li class="none">
>         <strong>Issues & Gotchas</strong>
>     </li>
> {code}
> ie the ampersand gets un-escaped, making the xhtml invalid.

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

        

[jira] Commented: (MSITE-333) Ampersand gets un-escaped in menu item

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143628#action_143628 ] 

Vincent Siveton commented on MSITE-333:
---------------------------------------

Should be fixed in beta-1 due to r583267

> Ampersand gets un-escaped in menu item
> --------------------------------------
>
>                 Key: MSITE-333
>                 URL: http://jira.codehaus.org/browse/MSITE-333
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: site descriptor
>    Affects Versions: 2.0-beta-7
>            Reporter: Lukas Theussl
>            Priority: Minor
>
> On the Doxia site (trunk) we have a menu item:
> {code:xml}
> <item name="Issues &amp; Gotchas" href="issues/index.html"/>
> {code}
> which ends up as
> {code:xml}
>     <li class="none">
>         <strong>Issues & Gotchas</strong>
>     </li>
> {code}
> ie the ampersand gets un-escaped, making the xhtml invalid.

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