NAME Plack::Middleware::HTMLify - Plack::Middleware::Deflater - Transform a non-html page into html. VERSION version 0.1.0 SYNOPSIS use Plack::Builder; my $app = sub { return [ 200, [ 'Content-Type' => 'text/plain' ], [ 'Hello Foo' ] ]; }; builder { enable "HTMLify", set_doctype => "...", # html for the doctype set_head => "...", # html to include in set_body_start => "...", # html for the beginning of the set_body_end => "..."; # html for the end of the $app; }; DESCRIPTION Plack::Middleware::HTMLify is meant to be used to transform non-html web content into html. The ideas is that some content, such as "text/plain", you may want transformed into HTML for use with other middleware. SEE ALSO Plack AUTHOR Mark Jubenville COPYRIGHT AND LICENSE This software is copyright (c) 2010 by Mark Jubenville. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.