[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] [uk] [vi] [zh] Espace de traduction



June 2010

All the versions of this article:

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)">].

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