Hello,
regarding xhtml compliance when one wants to use magnet to output/suppress a tag attribute :
i think a very simple solution like this would be nice :
magnet=@ to suppress surrounding attribute.
<a href="toto.html" class="[myfield;magnet=@]">a link</a> |
would output
<a href="toto.html" >a link</a> |
when myfield is empty.
I guess it's the simplest common case, much easier to implement in TBS than the case where one empty field would suppress another attribute in the same tag, which is, i agree, not fun to code.
(i put @ because it's accessible for anyone, is it really xhtml compliant ? i don't know)
best regards,
Jérémy.