From e1c91764257b9f4e8dbf15e8d201378523781587 Mon Sep 17 00:00:00 2001 From: arturu Date: Tue, 30 Apr 2024 17:01:15 +0200 Subject: [PATCH] release(2.2.2): fix escape progetto teaser --- .../progetto/node--type-progetto--view-mode-teaser.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/node/progetto/node--type-progetto--view-mode-teaser.html.twig b/templates/node/progetto/node--type-progetto--view-mode-teaser.html.twig index e0836c2e..330d5f0c 100644 --- a/templates/node/progetto/node--type-progetto--view-mode-teaser.html.twig +++ b/templates/node/progetto/node--type-progetto--view-mode-teaser.html.twig @@ -73,7 +73,7 @@ {% embed '@bi-bcl/card/card.html.twig' with { card_tag_container: 'article', card_title: label, - card_text: content.field_abstract|render|striptags|slice(0, 200) ~ '...', + card_text: content.field_abstract, card_teaser: true, card_shadow: true, card_attributes: attributes