I've just put my first TT plugin on CPAN. ::Clickable::Email finds text that looks like e-mail addresses and converts it in to HTML mailto: links.

  [% USE find_email Clickable::Email %]

Then

  [% FILTER $find_email %]
  blah [EMAIL PROTECTED] blah
  [% END %]

will produce

  blah <a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a> blah

Or use it with '|' as any other filter.

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to