ensure newlines are added between fragment concatentations