Creating multiple attribute in sightly from string
Hello,
I am trying to create html attributes from a string with multiple attributes.
We have a string myAttrs = " class='myClass' id='myId' data-value='myCustomValue'".
I am trying to render that string as attributes of a html element.
Example input: <p ${myAttrs}> My paragraph </p>
Expected output: <p class='myClass' id='myId' data-value='myCustomValue'> My paragraph </p>
That does not work. Is there a sightly command to achieve my expected output without converting the string to a map and using data-sly-attribute?
Thank you
