In https://github.com/rust-syndication/rss/issues/167 it was clarified that no manual escaping of fields should be needed and that the description will be wrapped in a CDATA section for escaping purposes.
When I'm putting my test string ("let's try & break this <item> ]]>, shall we?") into the description field however, I currently see this in the output:
<description><![CDATA[let's try & break this <item> ]]>, shall we?]]></description>
In https://github.com/rust-syndication/rss/issues/167 it was clarified that no manual escaping of fields should be needed and that the
description
will be wrapped in aCDATA
section for escaping purposes.According to https://en.wikipedia.org/wiki/CDATA#Nesting
]]>
in aCDATA
section needs to be encoded as]]]]><![CDATA[>
to not accidentally close theCDATA
section.When I'm putting my test string (
"let's try & break this <item> ]]>, shall we?"
) into thedescription
field however, I currently see this in the output: