nkanaev / yarr

yet another rss reader
MIT License
3.03k stars 225 forks source link

fix Atom entry content #171

Closed ghost closed 10 months ago

ghost commented 11 months ago

xml.Decoder has already unescaped entities in content. There is no need to unescape them again. html.UnescapeString makes &lt;code&gt;&amp;lt;Output&lt;/code&gt; in https://blog.rust-lang.org/feed.xml to be parsed into broken HTML markup <code><Output</code> instead of <code>&lt;Output</code>.