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

Anchor links don't work with the Excerpt macro

    XMLWordPrintable

Details

    Description

      Create two pages:

      page 1

      1. Create TOC macro inside an Excerpt macro
      2. Add a couple of headings to verify that TOC links are working

      page 2

      1. Add a "Excerpt Include" macro, point it to page 1

      Then:

      1. Open page 2 in view mode, it should display the TOC from page 1
      2. Click on one of the 2 TOC links

      Expected result
      Page 1 should open and scroll to the section as per the TOC link that was clicked.

      Actual result
      Nothing happens. The anchor link is partly correct as everything behind the # seems correct, but the left part of the link points to the current page (2) instead of page 1.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              763c4c056290 G
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: