visionmedia/jade — pull request #488 by JamieMason (2012-01-27 09:36:06+00:00)
Title: HTML5: omit quotes from attributes empty, or not containing spaces

Minor edit to exports.attrs related to HTML5, to omit quotes from attributes which are empty or do not contain spaces.

The change would mean that this Jade

.many.classes#idpresent(manyvalues='1 2', novalue='', onevalue='1')

...would output

...where before it output

Although debatably more performant, I'm sure this isn't to everyone's taste.
If accepted at all, you may decide to make this configurable.

Thanks, hope you don't mind me sticking my nose in.

Jamie / [@GotNoSugarBaby](https://twitter.com/#!/GotNoSugarBaby)