I am using the mdframed package to mark specific paragraphs with vertical lines in the left and right page margin. This works well but if such a paragraph spans two pages, i.e. has a page break in between, for some reason the last line on the first page is empty.
The effect can be seen in the picture of this question (it also provides a MWE but no solution to my problem as far as I can see): mdframed box spanning over page break: prevent images in between
Any idea/suggestion how I can ensure that this line is not "wasted"?
Thanks a lot in advance!