mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
Escape author in RSS feed
Signed-off-by: Harry Chen <i@harrychen.xyz>
This commit is contained in:
parent
a20b5f5027
commit
de664506e7
2
feed.xml
2
feed.xml
|
|
@ -16,7 +16,7 @@
|
|||
<item>
|
||||
<title>{{ post.title | xml_escape }}</title>
|
||||
<description>{{ post.content | xml_escape }}</description>
|
||||
{% if post.author %}<author>{{ post.author }}</author>{% endif %}
|
||||
{% if post.author %}<author>{{ post.author | xml_escape }}</author>{% endif %}
|
||||
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
|
||||
<link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>
|
||||
<guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid>
|
||||
|
|
|
|||
Loading…
Reference in New Issue