I just came againt this question
My first idea while answering is that there's an attribute missing to the first resource, wrote my answer in this way (plus other side effects).
I don't really know why but I feel it could be interesting to see the edits made to the question after and I found this one
The idea from the first editor is great, indenting the code block for readability, but he probably think the code inside was a try to format and removed it.
This is conflicting with author intent (and this is changing the code in an error) but it has been accepted.
I re-edited to add the missing attribute and edited my answer.
My question is could we/should we warn the editor and the reviewers they made a mistake ?
To be more precise: is a feature like git blame something that have been already discussed ?