Add newlines at end of fragment