NAME

Template::Plugin::TextToHtml - Plugin interface to HTML::FromText

SYNOPSIS

    [% USE TextToHtml %]

    # call text2html subroutine
    [% text2html(mytext, paras=1, url=1, email=1) %]

    # or use text2html FILTER
    [% mytext FILTER text2html(paras=1, url=1, email=1) %]

DESCRIPTION

This plugin provides an interface to the HTML::FromText module which provides simple HTML formatting.

TextToHtml defines a subrouting text2html that, when called, reformats plain text into HTML.

The options passed to the text2html subroutine correspond to those passed to the same routine from the HTML::FromText module.

AUTHOR

Casey West <casey@geeknest.com>

VERSION

0.01

COPYRIGHT

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Template::Plugin, HTML::FromText