wrap attributes in quotes

  This is necessary for string attributes with spaces