only add space to second and subsequent attributes
Merge pull request #5 from copleykj/master

Fix for extra space added to attributes.