It should maintain at most 1 newline between attributes, and none at the end