Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-6318

Headings should produce unique anchors so that headings with identical text can still be referred to

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.

      The automatic anchors created for the headers aren't always unique.
      
      h1. Introduction
      h2. Test Case 1
      h3. Conclusions
      h2. Test Case 2
      h3. Conclusions
      
      There is no way to accuratly link to the last heading (#MyPage-Conclusions) without creating a anchor of my own but that would still break the Table of Contents plugin.
      
      I suggest that either checking to make sure a specific anchor is unique within the page against a list generated while creating them. Adding a hash of the path wouldn't help if the Test Cases lacked their numbers. 
      

      Attachments

        Issue Links

          Activity

            People

              edalgliesh Eric Dalgliesh
              d28ce6e4390c Kent Karlsson
              Votes:
              11 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 19m
                  19m