-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not show the data within the tag attributes #2470
Comments
See #2305. Pug is incompatible with Jade. |
You not understand, I was using pug, but I get that error and had to change my files to jade. It is supposed to pug and jade should function the same. |
@AlexisSniffer, Pug = Jade 2.0, but Jade 2.0 ≠ Jade 1.x. The feature you used is a Jade 1.x feature/hack. |
Interpolation is not enabled in attribute values in pug. Please use: a(href=item.example) #{item.example} instead. |
Or, even shorter: a(href=item.example)= item.example |
thanks... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
not show the data within the tag attributes
example
a(href="#{item.example}") #{item.example}
output
a(href="#{item.example}") Example
should be
output
a(href="Example") Example
probe library with jade and if it works, but not pug
The text was updated successfully, but these errors were encountered: