Heading link collision when including same heading multiple times

Description

Steps to reproduce:

  1. Create a Confluence page and insert a heading on it

  2. Create a second Confluence page and insert the previous page two times in this page with the Include Page macro. Add someĀ  placeholder text in between these two included pages

  3. Export the page from step 2 with the "Documentation" template in Scroll PDF Exporter

Expected result:
The table of contents in the exported PDF displays the correct page numbers for the two headings and links to them correctly.

Actual result:
The table of contents links to the first instance of the included heading twice. The page number that is displayed in the ToC is that of the first page as well.

Environment

None

Assignee

Unassigned

Reporter

Sync User [K15t]

Labels

None

Participants

None

QA Status

None

Deployment

Cloud
Server

Documentation Status

None

UI Concept

None

External Votes

None

Components

Priority

Major
Configure