[Templates] Skipping directives
[prev]
[thread]
[next]
[Date index for 2004/10/05]
Hiya again,
I have a slightly bizarre request this time.. Is it possible to make
TT2 skip over directives it doesn't understand rather than throwing an
error? I'm trying to preprocess a template, but only interpret some of
the directives, and I'm tryng to find a way to do it without having to
use two sets of tt2 tags or having to do any text munging with
regexes.
I know, I know, it sounds horrible, but it's the only way I can see
around my particular problem. (Which is I'll be glad to explain, if
you want, but I shant bore you with it here)
Dan Thomas
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates
 |
[Templates] Skipping directives
Dan Thomas 22:08 on 05 Oct 2004
|