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