Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-25632

ID must be unique following the HTML 4 standard

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Medium
    • None
    • 4.1.6
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              67c3c25df595 Christian Scharr
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: