Browse Source

Force escape on title in Atom feed

Signed-off-by: Julien Danjou <julien@danjou.info>
main
Julien Danjou 12 years ago
parent
commit
da9178b83d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      hyde/layouts/basic/layout/atom.j2

+ 2
- 2
hyde/layouts/basic/layout/atom.j2 View File

@@ -21,7 +21,7 @@

{% for res in resource.node.walk_resources_sorted_by_time() %}
<entry>
<title type="html">{{ res.meta.title }}</title>
<title type="html">{{ res.meta.title|forceescape }}</title>
<author><name>{{ res.meta.author }}</name></author>
<link href="{{ content_url(res.url) }}"/>
<updated>{{ res.meta.created|xmldatetime }}</updated>
@@ -46,4 +46,4 @@
</content>
</entry>
{% endfor %}
</feed>
</feed>

Loading…
Cancel
Save