Snippets

Prevent page break in paragraphs using HTML

page-break-inside and page-break-after styles can be applied to avoid page breaks in paragraph contents when importing HTML. The following sample illustrates both styles in a paragraph that contains a paragraph and a list:

It is also possible to use custom styles.