Steps to reproduce:
Create a Confluence page with the following content:
Export with Scroll PDF Exporter 4.10.4 or later
Text in second-to-last paragraph is displayed in the PDF
Paragraph is missing from the PDF
Remove line breaks inside of paragraphs at the end of pages. This is most easily done by removing the <br/> element in the storage format directly.
This affects only paragraphs that are only followed by either empty paragraphs or by paragraphs that also contain line-breaks until the end of the page.
For Confluence server rolling back to Scroll PDF Exporter version 4.10.3 should also resolve the issue.