Sometime Today, Craig Manley assembled some asciibets to say: > Seeing all the ideas about custom escape options, perhaps it's a > good idea to redesign HTML::Template a little bit so that it stores > a hash of escaper classname => object pairs. Each time a TMPL_VAR > passes by with an escape option, HTML::Template converts that option > (safely) to a classname such as HTML::Template::Escaper::XXXX. If
I think something like this was dicussed quite some time ago... about having all escape=foo call a subroutine &escape_foo, or something like that. I don't quite remember the exact details. Maybe someone else can fill it in. Philip -- I've never been canoeing before, but I imagine there must be just a few simple heuristics you have to remember... Yes, don't fall out, and don't hit rocks. ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users
