Changeset 1507

Show
Ignore:
Timestamp:
12/24/04 15:50:12
Author:
miyagawa
Message:

pod fix

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Template-Plugin-Clickable/trunk/Changes

    r968 r1507  
    11Revision history for Perl extension Template::Plugin::Clickable 
    22 
     30.05  Fri Dec 24 04:08:14 JST 2004 
     4        - Added reference to TagRescue in POD 
     5          (Stephen Quinney, Satoshi Tanimoto) 
     6 
    370.04  Wed Nov 12 02:24:56 JST 2003 
    4         * Added filter_class option, thanks to Tony Bowden 
     8        * Added finder_class option, thanks to Tony Bowden 
    59 
    6100.03  Thu Nov 14 18:49:15 JST 2002 
  • Template-Plugin-Clickable/trunk/MANIFEST

    r605 r1507  
    66t/00_compile.t 
    77t/01_clickable.t 
     8META.yml                                 Module meta-data (added by MakeMaker) 
  • Template-Plugin-Clickable/trunk/lib/Template/Plugin/Clickable.pm

    r968 r1507  
    33use strict; 
    44use vars qw($VERSION); 
    5 $VERSION = 0.04
     5$VERSION = 0.05
    66 
    77require Template::Plugin; 
     
    9696=head1 NOTE 
    9797 
    98 If you use this module with C<html> filter, you should set this 
    99 C<clickable> module B<after> the C<html> filter. Otherwise links will 
    100 be also escaped and thus broken. 
     98If you use this module with C<html> filter, you should be careful not 
     99to break tags or brackets around the URLs. For example if you have a 
     100following URL form, 
     101 
     102  <http://www.example.com/> 
     103 
     104Clickable plugin will filter this into: 
     105 
     106  <a href="http://www.example.com/"><http://www.example.com/></a> 
     107 
     108which is bad for HTML viewing. However, if you HTML filter them first 
     109and then clickable filter, you'll get: 
     110 
     111  &lt;<a href="http://www.example.com/&gt">http://www.example.com/&gt</a>; 
     112 
     113which href part is wrong. 
     114 
     115You'd better try L<Template::Plugin::TagRescue> in this case. 
     116 
     117  [% USE Clickable -%] 
     118  [% USE TagRescue -%] 
     119  [% FILTER html_except_for('a') -%] 
     120  [% FILTER clickable -%] 
     121  <http://www.example.com/> 
     122  [%- END %] 
     123  [%- END %] 
     124 
     125will give you the right format. 
    101126 
    102127=head1 AUTHOR 
     
    109134=head1 SEE ALSO 
    110135 
    111 L<Template>, L<URI::Find> 
     136L<Template>, L<URI::Find>, L<Template::Plugin::TagRescue> 
    112137 
    113138=cut