Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-beta-5
-
Fix Version/s: 2.0-beta-6
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
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
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