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

PDF export: Links are only converted to "in-file" links if they do not contain a hashtag

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 6.11.0
    • None

    Description

      Summary

      When linking to another page in the same PDF export, a plain link with a URL in the format "/confluence/ds/MyPage" will be converted to an anchor link that will go to that location in the PDF (which is expected). However, if the link contains an anchor link such as "/confluence/ds/MyPage#MyPage-MyAnchor" then the link will not be converted and instead, it will link to the actual confluence instance.

      Steps to Reproduce

      1. Create PageOne
      2. Add an anchor in PageOne called MyAnchor
      3. Create PageTwo in the same space
      4. Add a link to PageOne#MyAnchor
      5. Export Space (Space tools > Content Tools > Export > PDF)
      6. Check the exported PDF and click the link in PageTwo

      Expected Results

      Link within pdf file

      Actual Results

      Link to confluence instance

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              iragudo Ian
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: