[SPIP] PUBLISHED : |texte_backend

SPIP

Article validated

The article « |texte_backend (|texte_backend - SPIP) »
was validated by jack.


|texte_backend

Tuesday 18 July 2023 , by David Sánchez
Crespillo

Table of contents

  • Ver también

El filtro |texte_backend aplicado a una baliza de texto traducirá el
contenido HTML de ésta en un formato compatible con los flujos XML.
Se utiliza, por ejemplo en el esqueleto backend.html que genera un hilo
RSS.

Este filtro transforma los enlaces en enlaces absolutos, importa las
entidades HTML y escapa las etiquetas HTML.

Por ejemplo, una baliza #DESCRIPTIF que devuelve normalmente el siguiente
código HTML:

<strong>William Shakespeare</strong> nacido en Stratford-on-Avon, <span

class=‹ spip_document_164 spip_documents spip_documents_center › > en una
casa bajo cuyo techo se ocultaba…

devolverá, una vez aplicado el filtro:

&lt;p&gt;&lt;strong&gt;William Shakespeare&lt;/strong&gt; nacido en

Stratford-on-Avon, <span class=‹ spip_document_164 spip_documents
spip_documents_center › >
<img src=‹ http://www.dominio.tld/IMG/png/maison-2.png ›
width=« 68 » height=« 43 » alt=""
/></span> en una casa bajo cuyo techo se ocultaba…</p>

Ver también|Back to the table of contents

  • Les filtres de texte
    (SPIP)

— Sent by SPIP (https://www.spip.net/)


rubon199-7e493.jpg