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

Table of contents interferes with anchor links

XMLWordPrintable

      When creating an anchor based link, if the target anchor is on a page which contains a table of contents (TOC) the link will bring us to the table of contents and not the intended anchor.

      Steps to reproduce

      1. Create a new page (parent), multiple pages long to express the issue
      2. Create an anchor at the bottom of the parent page
      3. Create a heading anywhere on the parent page (to populate the TOC)
      4. Create a TOC at the top of the parent page
      5. Create another page (child)
      6. Create a link to the anchor on the parent page as describered here
      7. Once both pages are saved, click the link on the child page and notice that we are directed to the TOC and not the anchor as intended

              Unassigned Unassigned
              acampbell AndrewA
              Votes:
              7 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: