fix(rss): add cdata to escape html content for rss feed (#2046)
* add cdata to escape html content
* fix: remove redundant CDATA
| | |
| | | <title>${escapeHTML(content.title)}</title> |
| | | <link>https://${joinSegments(base, encodeURI(slug))}</link> |
| | | <guid>https://${joinSegments(base, encodeURI(slug))}</guid> |
| | | <description>${content.richContent ?? content.description}</description> |
| | | <description><![CDATA[ ${content.richContent ?? content.description} ]]></description> |
| | | <pubDate>${content.date?.toUTCString()}</pubDate> |
| | | </item>` |
| | | |