Parser to strip more than two consecutive line-breaks

Replaces #451.
Almost.