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

When exporting a PDF of a document with a long chain of headers, all the headers will try to stay on the same page and will run below the bottom of the page, becoming invisible

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 4.2-milestone-2
    • 4.2-milestone-1
    • Old Core
    • None
    • Trivial
    • N/A
    • N/A

    Description

      The headers get a keep-with-next attribute which tries to keep a header and the following paragraph together. Unfortunately, when many headers come one after another, the strength of the rule (always) prevents page breaks between them.

      The same things happens for dt elements and {{tr}}s which contain only {{th}}s.

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: