[ http://jira.codehaus.org/browse/MSITE-168?page=comments#action_70833 ] 
            
Dennis Lundberg commented on MSITE-168:
---------------------------------------

I just did a validation [1] on a Maven generated page [2] that has these 
anchors in it. It turns out that this is not valid xhtml.

[1] http://validator.w3.org/
[2] http://maven.apache.org/plugins/maven-changes-plugin/changes-report.html

> Use underscores instead of spaces in anchor names
> -------------------------------------------------
>
>                 Key: MSITE-168
>                 URL: http://jira.codehaus.org/browse/MSITE-168
>             Project: Maven 2.x Site Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.0-beta-5
>            Reporter: Wendy Smoak
>
> Version 2.0-beta-5 generates named anchors based on the section/subsection 
> names.
> It currently uses the text as-is, leading to anchors like <a name="Logo 
> Contest"> which must be linked to with #Logo%20Contest.
> Maven 1 used to replace spaces with underscores, producing much nicer anchor 
> names:  <a name="Logo_Contest">, and #Logo_Contest.
> In addition, see MSITE-167, requesting the addition of an href attribute so 
> that the anchor name can be specified in the xdoc:
>    <subsection name="Logo Contest" href="logo"> ----> <a name="logo">  --->   
> #logo

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