Details
-
Bug
-
Resolution: Timed out
-
Medium
-
7
-
Severity 3 - Minor
-
Description
Issue Summary
Pdf export no longer demotes the heading level of hierarchical pages.
Steps to Reproduce
- Step 1 Create Level 1 page.
- Step 2 Create two Level 2 Pages that are sub-pages of the Level 1 page
- Step 3 Export this hierarchy to PDF (custom export)
Expected Results
The page titles of the level 2 pages should be demoted to level 2 headings.
Actual Results
The page titles of the level 2 pages are level 1 headings
Atlassian document:https://support.atlassian.com/confluence-cloud/docs/customize-exports-to-pdf/
"Demotion of heading elements: h1, h2, and so on. Due to the hierarchical manner in which a space is exported, Confluence will modify the heading elements to generate a uniform appearance for the entire space export. This means that headings will be demoted. This will affect the application of custom PDF Stylesheets. It is possible to calculate the amount by which a heading will be demoted in order to have the correct CSS styling applied. A heading will be demoted by the value of its depth in the export tree. A page at the first level will be demoted by 1 (all <h1> elements will become <h2> elements, and so on). A page at the second level will be demoted by 2, and so on. "
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
Attachments
Issue Links
- Mentioned in
- mentioned in
-
Page Loading...