HTML::Template::Extension::TAG_ATTRIBUTE_NORMALIZER - Remove unknown H::T attribute
use HTML::Template::Extension; my $text = qq | TAG_ATTRIBUTE_NORMALIZER plugin example ======================================= If all is ok you can read this here --> <TMPL_VAR NAME="test" class="tmpl">a placeholder</TMPL_VAR> |; my $comp = new HTML::Template::Extension( scalarref => \$text, plugins=>["SLASH_VAR","TAG_ATTRIBUTE_NORMALIZER"], ); $comp->param('test' => "It works!!!"); print $comp->output; # OUTPUT: # # SLASH_VAR plugin example # ======================== # If all is ok you can read this here --> It works!!!
TAG_ATTRIBUTE_NORMALIZER add syntax to remove unknown HTML::Template TAG attribute. So you can better identify you HTML::Template tags with visual effects like a peculiar style sheet.
Bruni Emiliano, <info@ebruni.it>
HTML::Template HTML::Template::Extension::DO_NOTHING HTML::Template::Extension::SLASH_VAR HTML::Template::Extension::CSTART HTML::Template::Extension::DOC HTML::Template::Extension::HEAD_BODY
To install HTML::Template::Pro::Extension, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::Template::Pro::Extension
CPAN shell
perl -MCPAN -e shell install HTML::Template::Pro::Extension
For more information on module installation, please visit the detailed CPAN module installation guide.