replaceAll("""(\n\n\n){3,}""", "\n\n")

fixes #22

If there are more than two new lines in a bundle, it'll try and make a bundle with the name "", so this will squash 2+ /n into just /n/n