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

Space PDF Export - links to page anchors does not work properly

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Information

      Linking to anchors in Confluence 3.5 used to work fine with Space PDF Export (clicking on the link will automatically navigate to the part of page in PDF). But in 4.0, clicking on the link with anchors (in PDF) launches the browser instead, which navigates to the part of page (but in the browser, and not PDF). Links to the page itself (without anchors) works fine though.

      Steps to Reproduce

      1. Create 2 pages named "Page A" and "Page B"
      2. Page A has this content (if inserted in Wiki Markup):
        h3.Subsection
        h3.Subsubsection
        
      3. Page B links to Page A's Subsection and Subsubsection anchors:
        [Page A#Subsubsection]
        [Page A#Subsection]
        
      4. Generate PDF Export (Notice that the links in Page B links to Page A's anchors by launching the browser instead of directly moving to the section within PDF as it normally does in Confluence 3.5)

      Workaround

      Instead of linking to the page's anchor, link to the page itself. This is not exactly a workaround, but it fixes the links (so that at least the link leads to the page in the PDF).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fsim Foo Sim (Inactive)
              Votes:
              56 Vote for this issue
              Watchers:
              45 Start watching this issue

              Dates

                Created:
                Updated: