This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-3b2854f1-124b-4764-8515-7f04c1d9ccb0 XWIKI-23943 Open

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

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-9cc0c0cb-4a64-4118-9112-e2664e302391 Marius Dumitru Florea created this issue on 22/Jan/26 21:35
 
Summary: Section anchors become external links when exported to PDF if the target section heading comes from the content of a macro supporting wiki syntax
Issue Type: cid:jira-generated-image-avatar-3b2854f1-124b-4764-8515-7f04c1d9ccb0 Bug
Affects Versions: 17.10.2
Assignee: Unassigned
Components: Export - PDF
Created: 22/Jan/26 21:35
Priority: cid:jira-generated-image-static-major-8a92d228-47a6-46e2-ad85-133a0f24b20a Major
Reporter: Marius Dumitru Florea
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