Template::Stash::EscapeHTML - escape HTML automatically in Template-Toolkit.
use Template::Stash::EscapeHTML; my $tt = Template->new({ STASH => Template::Stash::EscapeHTML->new, ... });
This module is a sub class of Template::Stash, automatically escape all HTML strings and avoid XSS vulnerability.
Tomohiro IKEBE, <ikebe@shebang.jp>
<ikebe@shebang.jp>
Copyright 2005 Tomohiro IKEBE, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Template::Stash::EscapeHTML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template::Stash::EscapeHTML
CPAN shell
perl -MCPAN -e shell install Template::Stash::EscapeHTML
For more information on module installation, please visit the detailed CPAN module installation guide.