From 46100730fa59d6f14d3565e87b48fad5d69afab5 Mon Sep 17 00:00:00 2001 From: welpo Date: Sun, 9 Jul 2023 14:16:37 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(atom):=20escape=20HTML=20in?= =?UTF-8?q?=20feed=20summary?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit HTML now shows clear, Escaping tamed, data pure, Feed sings, have no fear. --- templates/atom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/atom.xml b/templates/atom.xml index e3782b7..2e22cd8 100644 --- a/templates/atom.xml +++ b/templates/atom.xml @@ -39,9 +39,9 @@ {{ page.permalink | safe }} {% if page.summary -%} - {{ page.summary }} + {{ page.summary | striptags | safe }} {% elif page.description -%} - {{ page.description }} + {{ page.description | striptags | safe }} {% endif -%} {%- endfor %}