Paperbase Docs

PB_WIDOW_ORPHAN

A heading or paragraph was orphaned across a page break.

Severityinfo
Categoryrendering
Agent-repairableYes

What happened

A heading or paragraph was orphaned across a page break — the last line of a paragraph, or a heading at the bottom of a page, with the body content on the next page.

How to fix

Increase widows and orphans CSS properties, or add page-break-after: avoid to headings. Paperbase's defaults handle most cases; this warning indicates a custom stylesheet may be overriding the defaults.

h1, h2, h3, h4 { page-break-after: avoid; }
body { widows: 3; orphans: 3; }

Example

Before:

<style>body { widows: 1; orphans: 1; }</style>

After:

<style>body { widows: 3; orphans: 3; }</style>

On this page