Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c8a6ca5

Browse files
committed
Merge pull request poole#115 from codegaze/sitemap-fix
XML escaped post title in sitemap
2 parents fcda652 + f1d828d commit c8a6ca5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ layout: null
1717

1818
{% for post in site.posts %}
1919
<entry>
20-
<title>{{ post.title }}</title>
20+
<title>{{ post.title | xml_escape }}</title>
2121
<link href="{{ site.url }}{{ site.baseurl }}{{ post.url }}"/>
2222
<updated>{{ post.date | date_to_xmlschema }}</updated>
2323
<id>{{ site.url }}{{ post.id }}</id>

0 commit comments

Comments
 (0)