fix: escape titles

This commit is contained in:
Cory Dransfeldt 2024-02-18 22:02:25 -08:00
parent 4f969ba441
commit ec1e76db6c

View file

@ -15,7 +15,7 @@
</image> </image>
{% for entry in entries limit: 20 -%} {% for entry in entries limit: 20 -%}
<item> <item>
<title>{{ entry.title }}</title> <title>{{ entry.title | escape }}</title>
<link>{{ entry.url | stripUtm | encodeAmp }}</link> <link>{{ entry.url | stripUtm | encodeAmp }}</link>
<pubDate>{{ entry.date | stringToDate | dateToRfc822 }}</pubDate> <pubDate>{{ entry.date | stringToDate | dateToRfc822 }}</pubDate>
<guid>{{ entry.url | stripUtm | encodeAmp }}</guid> <guid>{{ entry.url | stripUtm | encodeAmp }}</guid>