Skip to content

Commit 12811ce

Browse files
Do not truncate rss (quarkusio#1815)
* Do not truncate rss * Use xml_escape for the RSS description content vs strup html --------- Co-authored-by: Emmanuel Bernard <[email protected]>
1 parent 5015f2e commit 12811ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

feed.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ layout: null
1717
{{ post.url | prepend: site.url }}
1818
</link>
1919
<description>
20-
{{ post.content | strip_html | truncatewords: '50' }}
20+
{{ post.content | xml_escape }}
2121
</description>
2222
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
2323
<guid>

0 commit comments

Comments
 (0)