I was just looking at what it'd take to add, and maybe I will.
Basically if would work like URLESCAPE, but pass a format string from the template to sprintf or strftime
<TMPL_VAR NAME [ESCAPE=URL] VALUE [FORMAT_C= "fomat" | FORMAT_T="format"] >
Any thoughts on this?
Oh and why am I doing this? Well because I won't actaully know what the data I'm passing is, whoever writes the template will.
In this case we will get sprintf templates inside of HTML::Template templates... I don't think that we need to support %s syntax if we already have <TMPL_VAR>
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.