Categories > TinyButStrong general >

Complex conditional formatting question

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Brandon
Date: 2006-09-17
Time: 02:32

Complex conditional formatting question

I have a.name and a.link

if a.link is not null I want to generate
<a href=[a.link>[a.name]</a>

if a.link is null I want to generate
[a.name]

magnet will not work because it is the outer tag I want to make conditional.

What is the best way to do this?
By: Brandon
Date: 2006-09-17
Time: 02:39

Re: Complex conditional formatting question - Solved with mtype

the answer:
magnet=a;mtype=m+m

I am amazed at tbs - it has everything!