Bill Moseley wrote:
The TT docs for the uri filter suggests:
<a href="[% filename | uri | html %]">click here</a>
Which I have done for a while out of habit, but doesn't work well for
fragments:
$ perl -MTemplate -le 'Template->new->process( \"[% u | uri | html %]", { u => "my file&stuff.html#offset" } )'
my%20file&stuff.html%23offset
Frankly, I'm not sure what's should happen, but the browsers I tested
with choked on it.
I'm now using Catalyst, so I use its c.uri_for(), but one usage of
that filter still ended up in a macro and broke some links.
You know what, I responded too quickly on this. This could be a valid question
if you have a pre-generated link. Ignore that last email.
That said, I am not really sure what the "right thing" to do here is.
-- Josh
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates