* this is using aleksip/plugin-data-transform for [attributes](https://github.com/aleksip/plugin-data-transform#create-drupal-attribute-objects) 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.
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.