|
NAMETemplate::Stash::AutoEscape - escape automatically in Template-Toolkit. SYNOPSIS use Template;
use Template::Stash::AutoEscape;
my $tt = Template->new({
STASH => Template::Stash::AutoEscape->new
});
METHODSnew
class_for Template::Stash::AutoEscape->class_for("HTML") # Template::Stash::AutoEscape::Escaped::HTML
Template::Stash::AutoEscape->class_for("HTML" => "MyHTMLString");
DESCRIPTIONTemplate::Stash::AutoEscape is a sub class of Template::Stash, automatically escape all HTML strings and avoid XSS vulnerability. CONFIGURE
AUTHORmala <cpan@ma.la> SEE ALSOTemplate, Template::Stash::EscapedHTML LICENSEThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. POD ERRORSHey! The above document had some coding errors, which are explained below:
|