padolsey / SIML

Simplified Markup
MIT License
97 stars 5 forks source link

Pseudos do not work with buttons #7

Closed Anaphase closed 10 years ago

Anaphase commented 10 years ago
button:submit

should compile to

<button type="submit"></button>

but instead this error is thrown: "Error: Unknown Pseduo: submit".

See https://github.com/padolsey/SIML/blob/master/src/generators/html5.js#L58 for why buttons cannot have pseudo selectors.

Also note that you've misspelled "pseudo" in the above error message.

padolsey commented 10 years ago

This has been added in 0.3.7. :)