[Templates] How to insert tags in string

Jonas Liljegren jonas@paranormal.se
Mon, 14 Aug 2000 21:28:49 +0200 (CEST)


On Mon, 14 Aug 2000, Matthews Simon wrote:

> But you can say.........
> [% TAGS [< >] %]
> [< a = "How to insert [% things %]..." >]
> [< TAGS [% %] >]
> [% a %]
> 
> Which is ugly......but does work.......

It does not work in a general 

  [% function() | eval %]

situation.  I don't know what the function will return. It can return
parameter value strings with any content. There is no sure way to escape
it.


-- 
/ Jonas  -  http://jonas.liljegren.org/myself/en/index.html