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

Using the code macro produces unexpected page throws in .pdf export.

XMLWordPrintable

      When exporting to .pdf, Confluence attempts to keep text in a code macro on the same page.

      When the code will fit on the remainder of the page, all is well.

      However once code is too large to fit on a full page then unwanted page throws are added leaving a space before the last 3 lines which are on a new page.

      Please see attached files.

      Please note that the panel macro has similar difficulties when it exactly fills a page see Test_Panel.pdf attachment

        1. Test_Panel.pdf
          28 kB
        2. Test_longer code.pdf
          26 kB
        3. Test_full page of code.pdf
          25 kB
        4. Test_fits on remainder of page.pdf
          25 kB
        5. Code Test.txt
          1 kB

            Unassigned Unassigned
            29d9652141ce George Cathcart
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: