From da9178b83de9f412a858db5264bb61f6ad6a04e4 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 4 May 2012 15:13:11 +0200 Subject: [PATCH] Force escape on title in Atom feed Signed-off-by: Julien Danjou --- hyde/layouts/basic/layout/atom.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hyde/layouts/basic/layout/atom.j2 b/hyde/layouts/basic/layout/atom.j2 index 5f894fe..8ab04db 100644 --- a/hyde/layouts/basic/layout/atom.j2 +++ b/hyde/layouts/basic/layout/atom.j2 @@ -21,7 +21,7 @@ {% for res in resource.node.walk_resources_sorted_by_time() %} - {{ res.meta.title }} + {{ res.meta.title|forceescape }} {{ res.meta.author }} {{ res.meta.created|xmldatetime }} @@ -46,4 +46,4 @@ {% endfor %} - \ No newline at end of file +