libtemplate-autofilter-perl

Template::Toolkit subclass with automatic filtering

Description

Template::AutoFilter is a subclass of Template::Toolkit which loads a specific Parser that is subclassed from Template::Parser. It adds a filter instruction to each interpolation token found in templates loaded by the TT engine. Tokens that already have a filter instruction are left unchanged.

By default this automatic filter is set to be 'html', but can be modified during object creation by passing the AUTO_FILTER option with the name of the wanted filter.

Additionally a pass-through filter called 'none' is added to the object to allow exclusion of tokens from being filtered.

Lastly, if you have problems with the directives which get auto filters applied, you can see the Template::AutoFilter::Parser docs for how you can customize that.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Template-AutoFilter


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libtemplate-autofilter-perl