From 88953d45d55d55ee7e79804749a40d47aa08c412 Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Mon, 19 Apr 2021 09:49:03 +0200 Subject: [PATCH] Strip HTML tags from `notmyidea` page template's title Fixes #2843 --- pelican/themes/notmyidea/templates/page.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pelican/themes/notmyidea/templates/page.html b/pelican/themes/notmyidea/templates/page.html index 7e50c1f6..428c47f1 100644 --- a/pelican/themes/notmyidea/templates/page.html +++ b/pelican/themes/notmyidea/templates/page.html @@ -1,6 +1,6 @@ {% extends "base.html" %} {% block html_lang %}{{ page.lang }}{% endblock %} -{% block title %}{{ page.title }}{% endblock %} +{% block title %}{{ page.title|striptags }}{% endblock %} {% block extra_head %} {% import 'translations.html' as translations with context %}