• New in : SPIP 1.9

The vider_attribut{attribut} filter is a variant of the inserer_attribut filter. It is used to delete html attributes.
For example, we might want to reset an attribute before assigning it a specific value:


This code starts by completely removing the ’style’ attribute for a logo, before re-assigning it the desired value for width, with no explicit definition of any other possible style modifications that may have also have been "erased".

Author Mark Published : Updated : 14/07/23

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