Stripping excess newlines from end of document.

I’d like to see an option for stripping excess new lines from the end of each chapter before compilation (which would be ignored, if the ‘preserve formattting’ is set). That would stop the odd rogue blank page turning up between chapters.

I may have asked for this before (it certainly rings a bell), but I think I tacked it on the end of some other weird request.

This did come up before. If I recall correctly, I think I decided against it as it would mean Scrivener trying to guess user intention. There may be valid reasons for having whitespace at the end of a document. However, I have still got it on my 2.0 list as a possibility for adding the option to trim extra whitespace around documents - a possible extra checkbox in the Text Options pane, for instance.