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