I found a bug in the latest version of HTML::Template (2.6 and at least
also 2.5) where if you have escape='url' in a tag, HTML
escaping is done instead.
This happens because although the main parsing regex checks for double
and single quotes around url, later when another regex is used to
Sam Said,
> Interesting. I've never tried to associate one template with another
> one, but I would expect it to work. Can you put together a small test
> script that generates this error?
>
Doh!! I appear to be all set Sam..
I couldn't easily take my existing code out as an example as its sp
On Mon, 9 Feb 2004, Chris Faust wrote:
> That "associate" seemed like the way to go, when I tried that I get the H:T
> error
> "attempt to set parameter 'items_loop' with a scalar - parameter is not a
> TMPL_VAR!"
Interesting. I've never tried to associate one template with another
one, but I wo
Hello Chris,
Monday, February 9, 2004, 5:11:34 PM, you wrote:
>> It's even simpler: simply associate the first object with the second.
>> #!/usr/bin/perl
>> use HTML::Template;
>> my $tmpl = new HTML::Template filehandle => \*DATA;
>> $tmpl->param(foo => "bar");
>> print $tmpl->output;
>> my $
Roger Burton West wrote:
> I haven't tried this, but my first reaction is to use the usual syntax
> for interrogating a template:
>
> $content2->param($content->param);
Sébastien Aperghis-Tramoni wrote:
> It's even simpler: simply associate the first object with the second.
> #!/usr/bin/perl