One thing I noticed about yesterday’s post was that the code formatting in the RSS feed was off. This was due to building the site with Hugo’s --minify option, which “reached into” the <description> item for the post and squished the whitespace without regard to whether it was in a <pre> block.

This was a simple fix: in Hugo’s settings there are a bunch of options for minify, one of which is disableXML. Add that to your config file, rebuild, and you’re done:

disableXML = true