Template::Plugin::PwithBR - TT Plugin that changes paragraph and newline into p with br.


Template-Plugin-PwithBR documentation  | view source Contained in the Template-Plugin-PwithBR distribution.

Index


SYNOPSIS

Top

  [% USE PwithBR %]
  [% FILTER p_with_br %]
  foo
  bar

  hoge
  [% END %]

Output:

  <p>
  foo<br />
  bar
  </p>

  <p>
  hoge</p>

DESCRIPTION

Top

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.

SEE ALSO

Top

Template, Template::Plugin

AUTHOR

Top

Daisuke Komatsu, <taro@cpan.org>

COPYRIGHT AND LICENSE

Top


Template-Plugin-PwithBR documentation  | view source Contained in the Template-Plugin-PwithBR distribution.