5 Nov
1999
5 Nov
'99
2:59 p.m.
Christopher Petrilli wrote:
&dtml.missing-foo;
renders to '' when missing.
Great stuff! Would it make sense to other folks (it does to me) to make dtml-entities default to missing as well as html_quote? I can't recall a situation yet where I really wanted my page to choke because a variable was missing <wink>. Now that I think about it, perhaps there ought to be a (global? per-request?) way of choosing a set of default formats for dtml-entities. Maybe check for a tokens-type property (or list-of-strings request variable) DTML_ENTITY_FORMATS? Cheers, Evan @ 4-am