[
https://issues.apache.org/jira/browse/MNGSITE-513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17907718#comment-17907718
]
Matthias Bünger commented on MNGSITE-513:
-----------------------------------------
The **general** problem described in this issue, that **all** links to a
specific section are broken is no longer true. I checked several pages (not
only the two mentioned) above.
The generated links are "only" broken if special characters are used in the
heading, e.g. #MNGSITE-547.
Thus I vote to close this issue as resolved (and continue for special
characters in #MNGSITE-547).
> Intra-page anchor links from some tables of contents (ToCs) are broken
> ----------------------------------------------------------------------
>
> Key: MNGSITE-513
> URL: https://issues.apache.org/jira/browse/MNGSITE-513
> Project: Maven Project Web Site
> Issue Type: Bug
> Reporter: Philippe Cloutier
> Priority: Major
>
> [The _Introduction to Build Profiles_
> page|https://maven.apache.org/guides/introduction/introduction-to-profiles.html]
> starts with a table of contents (ToC) in which each element contains an
> intra-page link to the relevant section.
> Unfortunately, all of these links appear to be broken (clicking them has no
> effect). For example, the viewport remains still after clicking the "JDK"
> link, which uses URL
> [https://maven.apache.org/guides/introduction/introduction-to-profiles.html#JDK]
> It seems the issue is that links use title case, while the actual anchors are
> completely lowercase. For instance, changing the above example to
> [https://maven.apache.org/guides/introduction/introduction-to-profiles.html#jdk]
> should fix.
> This also affects [the _Settings
> Reference_|https://maven.apache.org/settings.html], so should probably be
> checked on all pages.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)