I edited this answer, and by the look of the things, I cannot understand what went wrong. The code is indented with spaces, but they somehow disappear in preview.
What did I do wrong?
(It's very likely my fault, but UX is not that good. I don't think users should end up in such situations.)
```
-style fences requires four spaces of indentation, the already-indented code lines appear unindented in the final result. So a fix for this particular post would be to simply indent all of the code by four spaces (or, maybe, edit the snippet and save again). Other than that, I’m not sure if this should be a bug report…