[Documentation de SPIP] PUBLIE : 19. SPIP’s filters

Article publié
--------------

L'article "19. SPIP’s filters" a été validé par George Kandalaft.

** 19. SPIP’s filters **
par Paolo le dimanche 19 octobre 2003

In the article “SPIP’s tags: the syntax” we saw that it is possible
to modify the behaviour of tags and the way they display text by
qualifying them with filters.

[ optional text before (#TAG)|filter1|filter2|…|filtern) optional text
after ]

Filters 1, 2, …n are applied in succession to the #TAG.

Layout filters

majuscules converts the text to upper-case. (Differs from the standard
PHP function strtoupper, in that majuscules also acts on letters with
accents.)

justifier applies full justification to the text (equivalent to: <P
align=justify>).

aligner_droite aligns the text (...)

-> http://www.spip.net/spip_redirect.php3?id_article=2114