Sightly tag behavior inside parenthesis with other content
I have a situation requiring me to set an image as a background on an element. Unfortunately, it seems that the sightly tag doesn't like being inside parenthesis with other content, and simply doesn't output anything. This code:
<div class="img" style="background-image: url(${item.featuredImage})">image url: ${item.featuredImage}</div>Produces this output:
<div class="img" style="background-image: url()">image url: /content/dam/geometrixx/offices/basel roof.jpg</div>
Note that the first $item.featuredImage outputs as blank. Any idea why?