Copy/Paste HTML with Page Break

I have a content management system that produces HTML. I open the HTML in a browser (Firefox), select all, copy, and paste into a LibreOffice ODT. Everything works great. What HTML do I use so that when certain content is pasted, it inserts a full page break? I tried adding a ‘span style=“page-break-before: always;”’ tag but it doesn’t work.

You can do it the same way as it is done when exporting to html. Do not put the STYLE attribute into an inline element like ‘span’ but put it into a block element like ‘p’ or ‘h1’. For example <P STYLE="page-break-before: always; page-break-after: auto"> should work.