-
-
02 Apr 2005 22:38:20 UTC
- Distribution: Template-Plugin-TagRescue
- Module version: 0.06
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (508 / 0 / 0)
- Kwalitee
Bus factor: 0- 89.53% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (2.53KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
++ed by:1 non-PAUSE user- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Template::Plugin::TagRescue - TT Plugin to escape html tags except for marked
SYNOPSIS
[% USE TagRescue %] [% FILTER html_except_for('b') -%] <B>Bold!</B> and <I>Italic!</I><BR> [%- END %] # Output: # <B>Bold!</B> and <I>Italic!</I><BR> [% '<B>Bold!</B> and <I>Italic!</I><BR>' | html_except_for('i','br') %] # Output: # <B>Bold!</B> and <I>Italic!</I><BR> [% taglist = ['b', 'br']; '<B>Bold!</B> and <I>Italic!</I><BR>' | html_except_for(taglist) %] # Output: # <B>Bold!</B> and <I>Italic!</I><BR>
DESCRIPTION
Template::Plugin::TagRescue is a plugin for TT, which allows you to escape html tags except for ones you set in templates.
AUTHOR
Satoshi Tanimoto <tanimoto@cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
Module Install Instructions
To install Template::Plugin::TagRescue, copy and paste the appropriate command in to your terminal.
cpanm Template::Plugin::TagRescue
perl -MCPAN -e shell install Template::Plugin::TagRescue
For more information on module installation, please visit the detailed CPAN module installation guide.