Skip to content

Commit

Permalink
fix(rss): double quotes in the post title will break the XML structure (
Browse files Browse the repository at this point in the history
  • Loading branch information
v4vong authored Apr 10, 2023
1 parent fe70479 commit 1719d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/feed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ permalink: /feed.xml
{% assign post_absolute_url = post.url | absolute_url %}
<entry>
<title>{{ post.title }}</title>
<link href="{{ post_absolute_url }}" rel="alternate" type="text/html" title="{{ post.title }}" />
<link href="{{ post_absolute_url }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" />
<published>{{ post.date | date_to_xmlschema }}</published>
{% if post.last_modified_at %}
<updated>{{ post.last_modified_at | date_to_xmlschema }}</updated>
Expand Down

0 comments on commit 1719d81

Please sign in to comment.