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

Confluence - Incorrect Anchor ID in Legacy Pages | Page title included in anchor IDs causing visualization issues in Smart Links

XMLWordPrintable

      Issue Summary

      In Confluence, when creating anchor links(using headings) on legacy pages, the HTML element IDs are generated by combining the page title and the section name, separated by a dash (e.g., NewPageForTesting-Conclusion). This behavior results in duplicate anchor IDs when the same section name is used across different pages, leading to visualization issues in Smart Links on Fabric pages.

      Steps to Reproduce

      1. Create a legacy Confluence page with a title (e.g., NewPageForTesting).
      2. Add a section with a heading (e.g., Conclusion).
      3. Observe that the anchor ID is generated as NewPageForTesting-Conclusion.
      4. Create a Smart Link on a Fabric page pointing to this anchor.

      Expected Results

      The anchor ID should be based solely on the section name, not including the page title, to avoid duplication and visualization issues.

      Actual Results

      The anchor ID includes the page title, visualization issues in Smart Links on Fabric pages.

      Workaround

      As a temporary workaround, you can convert your legacy page to the new editor. Here's how:

      • After conversion, edit the Fabric page containing the link and update it to point to the newly converted page. Make sure the link includes the correct anchor to the desired section.

              Unassigned Unassigned
              188f830ca5ca Michael Gonzalez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: