Commit 32650e3a authored by Carl Schwan's avatar Carl Schwan 🚴

encode url

parent 43c08a89
......@@ -18,7 +18,7 @@
<id>{{ post.guid }}</id>
<author>
<name>{{ post.author }}</name>
<uri>{{ post.link | url_encode }}</uri>
<uri>{{ post.link | xml_escape }}</uri>
</author>
<published>{{ post.created_at | date_to_xmlschema }}</published>
<updated>{{ post.updated_at | date_to_xmlschema }}</updated>
......
......@@ -24,7 +24,7 @@
<guid isPermaLink="{% if post.guid contains '://' %}true{% else %}false{% endif %}">{{ post.guid }}</guid>
<title>{{ post.title | xml_escape }}</title>
<pubDate>{{ post.created_at | date_to_rfc822 }}</pubDate>
<link>{{ post.original_link | url_encode }}</link>
<link>{{ post.original_link | xml_escape }}</link>
<description>{{ post.content | xml_escape }}</description>
<author>{{ post.author }}</author>
{% if post.license %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment