For example, from a #DESCRIPTIF
tag which normally returns the following html source: 2 is "greater" than 1 & it's noted: 2 > 1
, to fill in the alt attribute of an image we’ll use :
<img alt="[(#DESCRIPTIF|attribut_html)]"
that will return the html source:
<img alt="2 est "greater" than 1 & c'it's noted: 2 > 1"...
Note that this filter removes html tags:
<strong>Hello</strong> Summer !
becoming:
Hello Summer !