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 is cross-posted at pattern-lab/patternengine-php-twig.
This is working fine in a pattern: <div {{ attributes.addClass('test') }}>test</div> <div class="test">test</div>
<div {{ attributes.addClass('test') }}>test</div>
<div class="test">test</div>
But if this is inside a macro, I get: <div class=""test"">test</div>
<div class=""test"">test</div>
I can work around this by including the macro file like another pattern.
The text was updated successfully, but these errors were encountered:
I have twigAutoescape: false as per #18.
twigAutoescape: false
Sorry, something went wrong.
Thanks for the bug report! Will look into this as soon as I find some time.
No branches or pull requests
This is cross-posted at pattern-lab/patternengine-php-twig.
This is working fine in a pattern:
<div {{ attributes.addClass('test') }}>test</div>
<div class="test">test</div>
But if this is inside a macro, I get:
<div class=""test"">test</div>
I can work around this by including the macro file like another pattern.
The text was updated successfully, but these errors were encountered: