[htmltmpl] default_escape patches

2006-03-15 Thread Tom Heady
Attached are patches/tests for the following bugs: * when specifying a default_escape, you can't turn it off I have fixed ESCAPE=0 and added ESCAPE=NONE to turn off escaping altogether for a TMPL_VAR. The pod was also updated to reflect this change. Usage: * ESCAPE='JS' did not work I

Re: [htmltmpl] Re: bug fixes/patches/tests

2006-03-15 Thread Tom Heady
Mark Stosberg wrote: On 2006-03-15, Tom Heady <[EMAIL PROTECTED]> wrote: Hello, What would be the most appropriate way to contribute bug fixes/patches/tests? ... Tom, I believe using the bug tracking system is the preferred route. I know Sam has mentioned that in the past. It's also a v

[htmltmpl] Re: bug fixes/patches/tests

2006-03-15 Thread Mark Stosberg
On 2006-03-15, Tom Heady <[EMAIL PROTECTED]> wrote: > Hello, > > What would be the most appropriate way to contribute bug > fixes/patches/tests? > > I have a patch and tests that will fix the following: > > > use HTML::Template; > > my $text = q{}; > my $templa

RE: [htmltmpl] How to manipulate rows in returned resultset

2006-03-15 Thread Kapoor, Nishikant
> #BUT, if I need to bold the 'search text', I need to iterate through the loop > my @loopData=(); > foreach my $rec (@{$data}) { > my %loopRow; > $rec->{title} =~ s/(\b$searchText\b)/$1<\/b>/ig; > $loopRow{title} = $rec->{title}; > push @loopData, \%loopRow; > } > $template->param(myLoopVar =>

[htmltmpl] bug fixes/patches/tests

2006-03-15 Thread Tom Heady
Hello, What would be the most appropriate way to contribute bug fixes/patches/tests? I have a patch and tests that will fix the following: use HTML::Template; my $text = q{}; my $template = HTML::Template->new( scalarref => \$text, default_escape