HomeMusing Studio

Fix garbled RSS item descriptions

Description

Fix garbled RSS item descriptions

Previously, item descriptions wrapped stripped Markdown in a CDATA
section. gorilla/feeds escapes that field, so readers saw a literal
"<![CDATA[". Stripping Markdown also left shortcodes and raw HTML behind
as text.

Now, descriptions are plain text from the rendered post, and full posts stay in
<content:encoded>. Tag feed titles also use a real em dash instead of an
escaped "&mdash;".

Fixes #1778

Details

Provenance
mattAuthored on Tue, Nov 10, 6:09 PM
Parents
rWF8a6bd2c3525d: Merge pull request #1781 from writefreely/dependabot/go_modules/golang.
Branches
Unknown
Tags
Unknown
References
fix-rss-description