I'd like to note that adding a newline between any pages will break other things. Eg. when an image is added on a separate page inside a paragraph:
- page1: start of paragraph text
- page2: image (as a <div>)
- page3: end of paragraph text
If a newline is inserted between pages, parser will end the paragraph before the image inserting an extra </p> there and the actual paragraph becomes split. This is not expected behaviour.