Template::Plugin::PwithBR - TT Plugin that changes paragraph and newline into p with br.
[% USE PinBR %] [% FILTER p_in_br %] foo bar hoge [% END %]
Output:
<p> foo<br /> bar </p> <p> hoge</p>
Template::Plugin::PinBR is TT plugin.When this plugin is used, <p> and <br> are appropriately output.
It is not possible to achieve it with the filter html_para and html_break / html_para_break or html_line_break.
Template, Template::Plugin
Daisuke Komatsu, <taro@taro-web.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.
To install Template::Plugin::PwithBR, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template::Plugin::PwithBR
CPAN shell
perl -MCPAN -e shell install Template::Plugin::PwithBR
For more information on module installation, please visit the detailed CPAN module installation guide.