[ http://jira.codehaus.org/browse/MSITE-168?page=all ]

Vincent Siveton closed MSITE-168.
---------------------------------

         Assignee: Vincent Siveton
       Resolution: Fixed
    Fix Version/s: 2.0-beta-5

Added HtmlTools#encodeId() in Doxia core
The id returned respects the W3C recommendation.

> 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
>         Assigned To: Vincent Siveton
>             Fix For: 2.0-beta-5
>
>
> 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