Skip to content

Commit 67a1388

Browse files
committed
Merge pull request #243 from DesignOpen/atom-fix
fixing atom feed
2 parents bda0a5c + b0efa02 commit 67a1388

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

atom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
---
44
<?xml version="1.0"?>
55
<feed xmlns="http://www.w3.org/2005/Atom">
6-
6+
77
<title>{{site.name}}</title>
88
<link href="{{site.url}}"/>
99
<link type="application/atom+xml" rel="self" href="{{site.url}}/atom.xml"/>
@@ -20,7 +20,7 @@
2020
<entry>
2121
<id>{{site.url}}{{ post.id }}</id>
2222
<link type="text/html" rel="alternate" href="{{site.url}}{{ post.url }}"/>
23-
<title>{{ post.title }}</title>
23+
<title>{{ post.title | xml_escape }}</title>
2424
<published>{{ post.date | date_to_xmlschema }}</published>
2525
<updated>{{ post.date | date_to_xmlschema }}</updated>
2626
<author>
@@ -30,5 +30,5 @@
3030
<content type="html">{{ post.content | xml_escape }}</content>
3131
</entry>
3232
{% endfor %}
33-
34-
</feed>
33+
34+
</feed>

0 commit comments

Comments
 (0)