fuelphp/core — pull request #1 by tgriesser (2012-06-17 15:48:35+00:00)
Title: Idea: support for html boolean attributes for array_to_attr

The html spec provides support for boolean attributes, or ones where the presence of the attribute in the tag is the only necessary indicator that the attribute is present. Some examples of this:

`
` can be shortened to `
`
`` can be shortened to ``
`

` is valid, even if the `data-` attribute does not contain a value

### Spec:
html4: http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.3.4.2
html5: http://dev.w3.org/html5/spec/common-microsyntaxes.html#boolean-attributes

So I think it might be a good idea to use the shorthand version by default in the array_to_attr