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

Table of Contents macro generates incorrect links when there is a TOC in an included page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Low
    • None
    • 5.1.2
    • None

    Description

      The table of contents links to various headings on a page, where the links are of the form: <currentPageTitle>#<currentPageTitle>-<headingName>
      e.g.
      http://localhost:8080/confluence/display/AP/currentPageTitle#currentPageTitle-headingName

      When this page is included via the 'Include Page' macro, the correct URL should become: <includingPageTitle>#<includingPageTitle>-<headingName>

      Instead it is rendered as <includingPageTitle>#<currentPageTitle>-<headingName>. This leads to a TOC with a bunch of broken links.

      Attachments

        Issue Links

          Activity

            People

              shaffenden Steve Haffenden (Inactive)
              dma@atlassian.com David Ma
              Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: