diff --git a/templates/modular/text.html.twig b/templates/modular/text.html.twig index 2b95963..61e109a 100644 --- a/templates/modular/text.html.twig +++ b/templates/modular/text.html.twig @@ -2,7 +2,7 @@
{% set image = page.media.images|first %} {% if image %} - {{ image.cropResize(400,400).html('','','align-'~page.header.image_align) }} + {{ image.cropResize(400,400).html('','','align-'~page.header.image_align)|raw }} {% endif %} {{ content|raw }}
diff --git a/templates/partials/blog_item.html.twig b/templates/partials/blog_item.html.twig index 5ae0743..86a7c45 100644 --- a/templates/partials/blog_item.html.twig +++ b/templates/partials/blog_item.html.twig @@ -29,7 +29,7 @@ {% endif %} {% if big_header %} - {{ page.media.images|first.cropResize(900,600).html('','blog-header-image') }} + {{ page.media.images|first.cropResize(900,600).html('','blog-header-image')|raw }} {% else %} {% if header_image %} {% if header_image_file %} @@ -37,7 +37,7 @@ {% else %} {% set header_image_media = page.media.images|first %} {% endif %} - {{ header_image_media.cropZoom(header_image_width, header_image_height).html }} + {{ header_image_media.cropZoom(header_image_width, header_image_height).html|raw }} {% endif %} {% endif %}