Skip to content

Table and list split into separate structure elements at page breaks #2903

Description

@BartCardan

content spanning multiple pages currently is separated in multiple tags. A list, table, paragraph, etc starting on page X and continuing on page Y, should be inside one <L>, <Table> or <P> instead of separate tags.

Attached sample HTML and PDF contains samples of the issue.

I am currently working on WeasyPrint 69.0.

Accessibility is our main focus so all our PDF's generated with WeasyPrint should be fully accessible conforming PDF/UA and WCAG.
WeasyPrint is so far the best solution. I have a version of the same PDF where I merged the tags afterwards, only rewriting /K and /P. It still validates, so the format allows one element to own content on several pages. Happy to attach it if that helps. Let me know.

sample.html

sample.pdf

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugExisting features not working as expected

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions