The |oui filter [1] (since SPIP 2.0) returns either a space or nothing at all.
It is equivalent to |?{' ',''} or |?{' '}, and is used to return a non-empty content (a space) to indicate that the optional parts of the tag should be displayed.

[(#TITRE|strlen|>{30}|oui) This title is a long one


See also the |non filter.


[1This can also be written as |yes

Author Mark Published : Updated : 26/10/12

Translations : català, English, Español, français, Nederlands