| Filtre | Effect & utility | Input text / output text | 
|---|---|---|
| textebrut | Replaces <p>, <br /> and double line breaks with single line breaks; non-breaking spaces and double spaces with single spaces.Uses to insert text into <meta> tags, and other HTML tags. | 
 | 
 | ||
| texte_backend | Formats text for XML feeds. Particularly useful in RSS feed templates.  | 
 | 
 | ||
| attribut_html | Formats text for HTML Attributes. Typically used, in the attributes <title>, <alt>... | 
 | 
 | ||
| texte_script | Formats text for PHP and JS scripts. Escape the quotes  | 
 | 
 | ||
| safehtml | Escapes the PHP and JS code  To be used to secure texts coming from outside (forums, syndications...)  | 
 | 
 | ||
| supprimer_tags | Removes all HTML tags while keeping the content of these same tags. Enables you to obtain a "raw" text.  | 
 | 
 | ||
| charset2unicode | Transforms to unicode entities .The interest of this filter is that it does not impact html tags.  | 
 | 
 | ||
| echapper_tags | Transforms the tag chevrons <...> into an HTML entity. Useful for text between tags. <pre>. | 
 | 
 | ||
| PtoBR | Transforms paragraph breaks <p> into simple line breaks.Allows you to "tighten" a layout.  | 
 | 
 | ||
| liens_absolus | Transforms all links (<a href=..., <link href:..., <img src=... and <script src=...) into absolute links.Particularly useful in RSS feed skeletons.  | 
 | 
 | ||
| liens_ouvrants | Transforms SPIP links that lead to external sites to open in a new window or tab. |  | 
 | 
Note that the lignes_longues filter can still be used but is deprecated. It is preferable to cut long lines using CSS properties such as word-wrap.
| lignes_longues | Introduces caesura in the "too long" words.. |  | 
 | 


