Tale Jade supports a different kind of assignments than the Node.js version does.
See the bottom of the official documentation for reference.
In Jade, you can cross-assign any attribute from multiple values without having to repeat the attribute name
e.g.
a(href=$url, href='/sub-url', href='/some-file.html')
vs
a&href($url, '/sub-url', '/some-file.html')
Node.js jade doesn't support this behaviour and the &-operator works differently.
In Node.js jade you have &attributes, which cross-assigns attributes on an element (passed by an array or object)
It also doesn't support multiple parameters.
In any case, we need downward-compatibility to Node.js jade, so the Tale jade &attributes should be handled differently from &-assignments and actually.
Tale Jade supports a different kind of assignments than the Node.js version does.
See the bottom of the official documentation for reference.
In Jade, you can cross-assign any attribute from multiple values without having to repeat the attribute name
e.g.
vs
a&href($url, '/sub-url', '/some-file.html')Node.js jade doesn't support this behaviour and the &-operator works differently.
In Node.js jade you have
&attributes, which cross-assigns attributes on an element (passed by an array or object)It also doesn't support multiple parameters.
In any case, we need downward-compatibility to Node.js jade, so the Tale jade
&attributesshould be handled differently from&-assignments and actually.