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

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

    XMLWordPrintable

Details

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? 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