The |textebrut filter transforms the output of the tag to which it is applied by replacing any <p> and <br /> tags with simple line feeds; double line feeds are replaced by a single line feed, double spaces are replaced by single spaces, and hard spaces are replaced with ordinary soft spaces. It also completely removes any HTML mark-up that may appear in the string.

It is used, for example, to provision HTML meta tags: [<meta name="description" content="(#DESCRIPTIF|textebrut)">].

Author Mark Published : Updated : 26/10/12

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