Mercurial > libervia-templates
diff sat_templates/templates/bulma/blog/atom.xml @ 266:7448aac005a1
bulma (blog/atom.xml): fixed double escaping
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 03 Aug 2020 08:44:50 +0200 |
parents | 2c282c244a3e |
children |
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 %}