From d757a36b8c6013b84e5ecf1cf108cc0dc3e810c9 Mon Sep 17 00:00:00 2001 From: Matias Griese Date: Mon, 8 Feb 2021 19:38:52 +0200 Subject: [PATCH] Fixed HTML Entities in titles [#2028] --- CHANGELOG.md | 1 + themes/grav/templates/partials/base-root.html.twig | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92bfb84e..522eb008 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ * List field: added new `placement` property to decide wether to add new items at the top, bottom or based on the *position* of the clicked button [#2055](https://github.com/getgrav/grav-plugin-admin/pull/2055) 1. [](#bugfix) * Fixed case-sensitive `accept` in `filepicker` field + * Fixed HTML Entities in titles [#2028] # v1.10.3 ## 02/01/2021 diff --git a/themes/grav/templates/partials/base-root.html.twig b/themes/grav/templates/partials/base-root.html.twig index 75b55232..d5af0207 100644 --- a/themes/grav/templates/partials/base-root.html.twig +++ b/themes/grav/templates/partials/base-root.html.twig @@ -4,7 +4,7 @@ {% block head %} - {% if title %}{{ title|striptags }} | {% else %}{% if header.title %}{{ header.title }} | {% endif %}{% endif %}{{ site.title }} + {% if title %}{{ title|striptags|raw }} | {% else %}{% if header.title %}{{ header.title }} | {% endif %}{% endif %}{{ site.title }} {% if header.description %} {% else %}