Skip to content

Commit

Permalink
Use CDATA tags for content:encoded body.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Mar 8, 2021
1 parent 5eea546 commit 65aca12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manager/rss_generator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ function write_rss_xml(rss_path, rss_title, rss_descr, rss_link, rss_items, rss_
<description><![CDATA[$(fix_relative_links(v.description, rss_link))
$(ifelse(isempty(v.content),
"<br><a href=\"$(full_link)\">Read more</a>]]></description>",
"]]></description><content:encoded>$(v.content)</content:encoded>"))
"]]></description><content:encoded><![CDATA[$(v.content)]]></content:encoded>"))
""")
for elem in (:author, :category, :comments, :enclosure)
e = getproperty(v, elem)
Expand Down

0 comments on commit 65aca12

Please sign in to comment.