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

Download

|PtoBR

July 2010 — updated on : June 2010

All the versions of this article:


The |PtoBR filter (since SPIP 1.0.3, SPIP 1.0.4, SPIP 1.0.5) transforms any paragraph jumps into simple line feeds, which makes it possible to "tighten up" page formatting, such as within a summary page.
This filter also enables the occasional cancellation of the standardised framing mechanism [1]’s usage of text tags <p> and </p> (since SPIP 2.0)

For example, a #DESCRIPTIF tag which normally returns the following HTML source:

<p><strong>William Shakespeare :</strong></p><p style="color:navy;">né à Stratford-sur-Avon dans une maison sous les tuiles de laquelle était cachée...</p>

will return, once this filter has been applied, as:

<strong>William Shakespeare :</strong>
<br />né à Stratford-sur-Avon dans une maison sous les tuiles de laquelle était cachée...

Footnotes

[1See the section on "Paragraphs" in the article about SPIP 2.0


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