This tag accepts a filter or a combination of filters as its argument.
E.g.
#FILTRE{supprimer_tags|filtrer_entites|trim}
Located at the end of a template file, it applies its parameter (or multiple parameters) as a filter to the entire generated template file once it has been processed by SPIP’s regular HTML-generating engine.
Exception : this filtering applies to the #INCLURE
in the template files that use this tag, but does not apply to the <INCLURE>
contained within the template file.
Example :
#FILTRE{supprimer_tags|filtrer_entites|trim}
In the notification plugin, an inscription.html
(see source code ) template file generates the contents of an email. To make this content suitable for an email, the results of the template file are processed by a series of filters aiming to remove HTML tags, redundant spaces and HTML entities.