We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This example from the docs for |attr does not appear to be working in Craft 3.5:
|attr
{% set tag = '<div class="foo">' %} {{ tag|attr({class: false})|attr({class: 'bar'}) }} {# Output: <div class="bar"> #}
Actual output: <div class="foo bar">
<div class="foo bar">
The text was updated successfully, but these errors were encountered:
8a284ec
Thanks for pointing that out! Just fixed this for the next release.
Sorry, something went wrong.
Release note for #7234
c6e4a7f
Craft 3.5.17 is out now with this fix.
No branches or pull requests
Description
This example from the docs for
|attr
does not appear to be working in Craft 3.5:Actual output:
<div class="foo bar">
Additional info
The text was updated successfully, but these errors were encountered: