SPIP

[ar] [ast] [bg] [br] [ca] [co] [cpf] [cs] [da] [de] [en] [eo] [es] [eu] [fa] [fon] [fr] [gl] [id] [it] [ja] [lb] [nl] [oc] [pl] [pt] [ro] [ru] [sk] [sv] [tr] [vi] [zh] Espace de traduction

Download

|attribut_html

July 2010 — updated on : June 2010

All the versions of this article:


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.


Show the template of this page Site powered by SPIP | Translation area | Private area