I have a macro where I try to create a div with an attribute that is a concatenation of several values. I can’t understand the rules of the different ways to reference values and can’t get it to work. Here is what I currently have
\define concat(str) $str$
\define svg(title, tags:"", width:100%, height:100%)
\whitespace trim
<$let tiddlerTags={{$title$!!tags}} tags=<<concat "<<tiddlerTags>> $tags$">>>
<div x-class=<<tags>> width=$width$ height=$height$>
<$transclude tiddler=<<__title__>> />
</div></$let>
\end
When calling like <<svg Test tags:foo>>
the x-class attribute is not rendered properly (expecting it to have the tags of the tiddler and additionally foo)