• New in : SPIP 1.4

The attribut_html filter processes a character string to make sure that it can be used as an HTML attribute value without compromising the function of the code (i.e. it removes or "escapes" any characters that should not be used within such HTML attributes); for example, if we want to add a mouseover text to the normal link for an article, we would use <a href="#URL_ARTICLE"[ title="(#DESCRIPTIF|attribut_html|couper{80})"]>#TITRE</a>. In versions of SPIP prior to 1.9.2, it was necessary to add the |supprimer_tags filter.

Author Mark Published :

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