In a twig file, I use {{file.html()|raw}}
and I obtain something like <p alt="">mytext</p>
.
Is it possible to obtain only the text mytext ?
In a twig file, I use {{file.html()|raw}}
and I obtain something like <p alt="">mytext</p>
.
Is it possible to obtain only the text mytext ?