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 2007/06/01 04:53:58 UTC

[jira] Created: (MSITE-235) named references don't work, regression from beta-5

named references don't work, regression from beta-5
---------------------------------------------------

                 Key: MSITE-235
                 URL: http://jira.codehaus.org/browse/MSITE-235
             Project: Maven 2.x Site Plugin
          Issue Type: Bug
    Affects Versions: 2.0-beta-6
            Reporter: Brett Porter


src/site/apt/guides/introduction/introduction-to-the-pom.apt

May be because of spaces?

This works in beta-5:
* {{{introduction-to-the-pom.html#What is a POM}What is a POM}}?
...
* {What is a POM}?

But not in 2.0-SNAPSHOT.

-- 
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] Closed: (MSITE-235) named references don't work, regression from beta-5

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSITE-235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MSITE-235.
---------------------------------

    Resolution: Won't Fix

Spaces are not allowed in anchors.

> named references don't work, regression from beta-5
> ---------------------------------------------------
>
>                 Key: MSITE-235
>                 URL: http://jira.codehaus.org/browse/MSITE-235
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-6
>            Reporter: Brett Porter
>
> src/site/apt/guides/introduction/introduction-to-the-pom.apt
> May be because of spaces?
> This works in beta-5:
> * {{{introduction-to-the-pom.html#What is a POM}What is a POM}}?
> ...
> * {What is a POM}?
> But not in 2.0-SNAPSHOT.

-- 
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-235) named references don't work, regression from beta-5

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

Lukas Theussl commented on MSITE-235:
-------------------------------------

This was introduced in MSITE-168. Even though apt does not specify whether spaces are allowed in anchors (AFAIK), I think it's a reasonable requirement. So apart from documenting it, this is won't fix IMO.

> named references don't work, regression from beta-5
> ---------------------------------------------------
>
>                 Key: MSITE-235
>                 URL: http://jira.codehaus.org/browse/MSITE-235
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-6
>            Reporter: Brett Porter
>
> src/site/apt/guides/introduction/introduction-to-the-pom.apt
> May be because of spaces?
> This works in beta-5:
> * {{{introduction-to-the-pom.html#What is a POM}What is a POM}}?
> ...
> * {What is a POM}?
> But not in 2.0-SNAPSHOT.

-- 
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-235) named references don't work, regression from beta-5

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

Lukas Theussl commented on MSITE-235:
-------------------------------------

Actually, apt does specify the format of an anchor: "The name of an anchor/link is its text with all non alphanumeric characters stripped."  There is a method in StructureSink to do that, this should be used for all user-supplied anchors. HtmlTools#encodeId should only be used for internally generated anchors, ie sections and subsections.

> named references don't work, regression from beta-5
> ---------------------------------------------------
>
>                 Key: MSITE-235
>                 URL: http://jira.codehaus.org/browse/MSITE-235
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-6
>            Reporter: Brett Porter
>
> src/site/apt/guides/introduction/introduction-to-the-pom.apt
> May be because of spaces?
> This works in beta-5:
> * {{{introduction-to-the-pom.html#What is a POM}What is a POM}}?
> ...
> * {What is a POM}?
> But not in 2.0-SNAPSHOT.

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