donpark / html2jade

Converts HTML to Jade template. Not perfect but useful enough for non-daily conversions.
MIT License
1.18k stars 156 forks source link

omit commas between attributes #96

Closed focusaurus closed 9 years ago

focusaurus commented 9 years ago

Modern jade does not require commas to separate attributes within an HTML element. This makes jade more like HTML and easier to deal with. Could html2jade omit the commas?

donpark commented 9 years ago

It'll have to be added as a new feature. I'm rather squeezed just now so you're welcome to submit a PR.

donpark commented 9 years ago

This feature is now implemented in version 0.8.3+ via --noattrcomma flag 2cc64f2a5a09c3c9eae070e2a4b159355573673b.

focusaurus commented 9 years ago

Awesome! Thanks so much. :cake: