|PtoBR

  • New in : SPIP 1.0

The |PtoBR filter 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 ’s usage of text tags <p> and</p>

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...

Author Mark Published : Updated : 18/04/23

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