Skip to content
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

Attributes in macros are double quoted #52

Open
mortona42 opened this issue Jan 15, 2019 · 0 comments
Open

Attributes in macros are double quoted #52

mortona42 opened this issue Jan 15, 2019 · 0 comments

Comments

@mortona42
Copy link

mortona42 commented Jan 15, 2019

  • this is using aleksip/plugin-data-transform for attributes

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.

@mortona42 mortona42 changed the title attributes in macros double quoted Attributes in macros are double quoted Jan 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant