changeset 266:7448aac005a1

bulma (blog/atom.xml): fixed double escaping
author Goffi <goffi@goffi.org>
date Mon, 03 Aug 2020 08:44:50 +0200
parents ae365c036a58
children 5a1d7c2d965a
files sat_templates/templates/bulma/blog/atom.xml
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/sat_templates/templates/bulma/blog/atom.xml	Sun Aug 02 22:30:31 2020 +0200
+++ b/sat_templates/templates/bulma/blog/atom.xml	Mon Aug 03 08:44:50 2020 +0200
@@ -15,7 +15,7 @@
     {% for item in blog_items['items'] %}
         <entry>
             {% if item.title_xhtml %}
-                <title type='xhtml'>{{item.title_xhtml}}</title>
+                <title type='xhtml'>{{item.title_xhtml|safe}}</title>
             {% else %}
                 <title>{{item.title|default(item.content|truncate(80, True, '…'), True)}}</title>
             {% endif %}
@@ -34,7 +34,7 @@
             {% if item.content_xhtml %}
                 <content type='xhtml'>
                     <div xmlns='http://www.w3.org/1999/xhtml'>
-                    {{item.content_xhtml}}
+                    {{item.content_xhtml|safe}}
                     </div>
                 </content>
             {% else %}