ID must be unique following the HTML 4 standard

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Medium
    • None
    • Affects Version/s: 4.1.6
    • Component/s: None

      According to this doc from w3, the "element id" must be unique:

      This attribute assigns a name to an element. This name must be unique in a document.

      Confluence is 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 id="Home-title1">title 1</h1>
      <h3 id="Home-subtitlea">subtitle a</h3>
      <h3 id="Home-subtitleb">subtitle a</h3>
      <h1 id="Home-title2">title 2</h1>
      <h3 id="Home-subtitlea">subtitle a</h3>
      <h3 id="Home-subtitleb">subtitle a</h3>
      

      The subtitles are not made unique, which is not following the standard.

              Assignee:
              Unassigned
              Reporter:
              Christian Scharr
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: