🐛 fix(atom): remove safe filter on page.content

It seems to causing problems on <br> tags.
This commit is contained in:
Dave Patrick Caberto 2023-09-17 21:37:14 +08:00
parent a113ba2271
commit 14f7188b16

View file

@ -62,7 +62,7 @@
<link rel="alternate" href="{{ page.permalink | safe }}" type="text/html"/>
<id>{{ page.permalink | safe }}</id>
{% if config.extra.full_content_in_feed %}
<content type="html">{{ page.content | safe }}</content>
<content type="html">{{ page.content }}</content>
{% elif page.summary -%}
<summary type="html">{{ page.summary | striptags | safe | trim_end_matches(pat=".") }}…</summary>
{% elif page.description -%}