Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.0.2
-
None
Description
According to this doc from w3, the "a name" tag must be unique:
This attribute names the current anchor so that it may be the destination of another link. The value of this attribute must be a unique anchor name. The scope of this name is the current document...
We are not making this unique at the moment. So the following wiki markup:
h1. title 1 h3. subtitle a h3. subtitle b h1. title 2 h3. subtitle a h3. subtitle b
Will result in the following:
<h1><a name="Home-title1"></a>title 1</h1> <h3><a name="Home-subtitlea"></a>subtitle a</h3> <h3><a name="Home-subtitleb"></a>subtitle a</h3> <h1><a name="Home-title2"></a>title 2</h1> <h3><a name="Home-subtitlea"></a>subtitle a</h3> <h3><a name="Home-subtitleb"></a>subtitle a</h3>
The subtitles are not made unique, which is not following the standard.
Attachments
Issue Links
- relates to
-
CONFSERVER-4540 Complex headings generate invalid anchors
- Closed
- supersedes
-
CONFSERVER-9978 table of content macro: links do not include parent headers -> equal named headers in the same header level lead to incorrect linking in toc
- Closed
- was cloned as
-
CONFSERVER-25632 ID must be unique following the HTML 4 standard
- Closed
- is duplicated by
-
TOC-82 Loading...