ruricolist/spinneret

Attributes with no value

zen-wq opened this issue · 1 comments

Some frameworks (cough ZURB Foundation cough) make use of custom :data-* attributes with no value. I wanted to make a PR but couldn't think of a good way to represent it. t should mean "true" for other purposes, empty string is a valid value too. The only choice I see is a special symbol in spinneret package to indicate that there's no value.

Ok, there's a list of *boolean-attributes*. So, we just need a way for users to update it. Maybe just export it like *unvalidated-attribute-prefixes*?