How about:
<a href="http://[% server | html %]/[% path | uri | html %]?[% query |
html %]"> ...
Perl's standard URI objects will properly stringify themselves, though,
so I recommend storing your uris as URIs (heh), and going that route:
<a href="[% link | html %]"> ... </a>
Of course, using c.uri_for is the best idea :)
> Frankly, I'm not sure what's should happen, but the browsers I tested
> with choked on it.
The # shouldn't become a %23. It should remain unescaped.
Regards,
Jonathan Rockway
--
package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do {
$,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //,
";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates