From 9effb69a31de9299a3e078708c2f5f4a243a7cbe Mon Sep 17 00:00:00 2001 From: gajjug004 Date: Wed, 13 May 2026 09:42:51 +0530 Subject: [PATCH] fix: render head_html as safe HTML --- wiki/templates/wiki/layout.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiki/templates/wiki/layout.html b/wiki/templates/wiki/layout.html index 2de3d5b8..8a7d96cf 100644 --- a/wiki/templates/wiki/layout.html +++ b/wiki/templates/wiki/layout.html @@ -49,7 +49,7 @@ {% block head %} {% endblock %} - {{ head_html or "" }} + {% if head_html %}{{ head_html | safe }}{% endif %} {% if not hide_chrome %}