Parser to strip more than two consecutive line-breaks

Replaces #451.
You like making me nervous, don't you :P