Handle custom attributes with empty values, fixes #270
Merge pull request #271 from ds82/gh-pages

Handle custom attributes with empty values. Closes #270