Posy::Plugin::TextToHTML 0.63 review
DownloadPosy::Plugin::TextToHTML is a Posy plugin to convert plain text files to HTML. SYNOPSIS @plugins = qw(Posy::Core .
|
|
Posy::Plugin::TextToHTML is a Posy plugin to convert plain text files to HTML.
SYNOPSIS
@plugins = qw(Posy::Core
...
Posy::Plugin::TextToHTML
...);
This uses the HTML::TextToHTML module (as used by the txt2html script) to convert the body of an entry from text into HTML. This checks the extension of the entry file, and if it is 'txt', then it will convert the entry.
This basically replaces the 'parse_entry' method, and calls the parent method for anything other than text.
Requirements:
Perl
Posy::Plugin::TextToHTML 0.63 search tags