Hello!
I found this in the Jade documentation, but can't get it to work here.
Example:
- if (autofocus)
input(type="text", autofocus="#{autofocus ? "autofocus" : null}")
The autofocus element should disappear if autofocus == false, but it leaves it there with an empty string.
If this isn't implemented, how can I get optional attributes without exponentially blowing up if conditions?
Thanks, Matej