root/Template-Plugin-Clickable/trunk/README

Revision 798 (checked in by miyagawa, 17 years ago)

0.03

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 NAME
2     Template::Plugin::Clickable - Make URLs clickable in HTML
3
4 SYNOPSIS
5       [% USE Clickable %]
6       [% FILTER clickable %]
7       URL is http://www.tt2.org/
8       [% END %]
9
10     this will become:
11
12       URL is <a href="http://www.tt2.org/">http://www.tt2.org/</a>
13
14 DESCRIPTION
15     Template::Plugin::Clickable is a plugin for TT, which allows you to
16     filter HTMLs clickable.
17
18 OPTIONS
19     target
20           [% FILTER clickable target => '_blank' %]
21           [% message.body | html %]
22           [% END %]
23
24         "target" option enables you to set target attribute in A links. none
25         by default.
26
27 NOTE
28     If you use this module with "html" filter, you should set this
29     "clickable" module after the "html" filter. Otherwise links will be also
30     escaped and thus broken.
31
32 AUTHOR
33     Tatsuhiko Miyagawa <miyagawa@bulknews.net>
34
35     This library is free software; you can redistribute it and/or modify it
36     under the same terms as Perl itself.
37
38 SEE ALSO
39     the Template manpage, the URI::Find manpage
40
Note: See TracBrowser for help on using the browser.