Anchor Name must be unique following the HTML 4 standard

XMLWordPrintable

      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.

            Assignee:
            Sherif Mansour
            Reporter:
            Roy Hartono [Atlassian]
            Votes:
            13 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: