On Thu, 23 Dec 2004 12:34:00 +0000 Stephen Quinney <[EMAIL PROTECTED]> wrote:
> > If I did the Clickable filter and then filtered any special HTML > characters I would get something like: > > <a > href="http://www.template-toolkit.org/"><http://www.template-toolkit.org/></a> > > Which I really do not want. Try Template::Plugin::TagRescue. http://search.cpan.org/~tanimoto/Template-Plugin-TagRescue-0.04/ [% USE Clickable -%] [% USE TagRescue -%] [% FILTER html_except_for('a') %] [% FILTER clickable -%] <http://www.template-toolkit.org/> [%- END %] [%- END %] html_except_for filter encodes html meta characters while keeping A tag alive. Probably I should put this into the document of ::Clickable. -- Tatsuhiko Miyagawa <[EMAIL PROTECTED]> _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
