PDF Export - Oversized First Page When Using <div> in Title Section

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      When exporting a Confluence page to PDF, if the Title Page includes a basic HTML <div> element (e.g., <div>test</div>), the first page renders larger than subsequent pages. This results in an inconsistent page size, layout, and margins, making the PDF appear unprofessional.

      Steps to Reproduce

      1. G to Space Settings > Look and feel > PDF Export  > Title Page.
      2. Add the following HTML snippet in the Title Page section:
        <div>test</div>
      3. Export the confluence space as pdf 
      4. Open the generated PDF and compare the first page size with the rest.

      Expected Results

      The title page should render at the same size and with the same margins as all other pages in the PDF.

      Actual Results

      The first page appears larger, with incorrect or missing margins, compared to subsequent pages.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Unassigned
            Reporter:
            Nitika Arora
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: