I have no major problem with edits that consist entirely of fixing code formatting, given how irritating it is to try and read unformatted code.
But rare is the post full of unformatted code that doesn't cry out for additional cleanup. The question you linked to is a perfect example, currently up to 8 revisions with multiple editors fixing multiple serious problems in the original.
Posts that cannot be improved by changing more than 6 characters are something of a mythical creature, but if you do stumble upon one just leave a comment, something along the lines of
Select your code and press Ctrl+K to format it
...and then move on to a different post. There is no shortage of posts needing edits.