On Sun, 7 Jul 2002, Sam Tregar wrote:

> > Sam, I think this needs an escape=quote parameter.  What do you think.
> > Would only be a couple of lines added.
> 
> Mmm, maybe.  Or a way to add new escapes at runtime.


how about this:

new HTML::Template(..., escape={
        name => 'quote',
        find => qr/(['"])/,
        replace => '\$1'
})




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Oh, it's good to be a geek.
http://thinkgeek.com/sf
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to