From 49a9ed8bc1381179f919389917032a198c45be1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 12 Nov 2018 23:35:50 -0500 Subject: [PATCH] Remove inappropriate h1 and h2 tags unfortunately, doing that removalin a massively inappropriate way --- .../templates/paragraph/paragraph--title--columnar.html.twig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/agaric/templates/paragraph/paragraph--title--columnar.html.twig b/agaric/templates/paragraph/paragraph--title--columnar.html.twig index 674de89..2ff887f 100644 --- a/agaric/templates/paragraph/paragraph--title--columnar.html.twig +++ b/agaric/templates/paragraph/paragraph--title--columnar.html.twig @@ -54,8 +54,9 @@
- {{ content.field_title }} - {{ content.field_subtitle }} + {# TODO something othar than this awful hack of stripping away h1, h2 #} +

{{ content.field_title|render|striptags|trim }}

+

{{ content.field_subtitle|render|striptags|trim }}

{% endblock %}