The attribut_html filters converts a text string so that it can be used as an HTML attribute without causing any damage - checking and replacing any characters which would render the final HTML ambiguous or unusable; for example, if we want to add a mouseover text to a normal link to an article, we could 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, Nederlands