Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-23943

Section anchors become external links when exported to PDF if the target section heading comes from the content of a macro supporting wiki syntax

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 17.10.2
    • Export - PDF
    • None
    • Unknown

    Description

      Follow these steps to reproduce:

      • create page A with a content line this:
        [[link>>||anchor="HHeading"]]
        
        = Heading =
        
      • create page B with a content like this:
        [[link>>||anchor="HHeading"]]
        
        {{info}}
        = Heading =
        {{/info}}
        
      • export both pages in a single PDF file and check the 2 section links

      Expected: both links are internal (jump to section inside PDF)
      Actual: only the first link is internal; the second is external and opens in the Web browser

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: