-
Notifications
You must be signed in to change notification settings - Fork 128
Closed
Description
Defect
A break is not included in the word document when the property "page-break-after:always" is added to the inline-styling of a div or any of the tags supporting a break (html<p>, <pre>, <div>, <span> and <body>). I understand this property is obsolete and that the browser automatically converts it to "break-after:page", so I string replace the newer property with the obsolete property before conversion. This still does not work.
However, string replacing "break-before:page" with "page-break-before:always" does work!
Expected behavior
I expected "this is a test" to be on a separate page by itself.
Repro
<div style="page-break-after:always">
Lorem ipsum dolor sit amet,
consectetur adipiscing elit.
</div>
<p>this is a test</p>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels